Annotation of /trunk/bootstrap/Makefile
Parent Directory | Revision Log
Revision 2188 -
(hide annotations)
(download)
Wed Oct 9 10:25:21 2013 UTC (10 years, 11 months ago) by niro
File size: 572 byte(s)
Wed Oct 9 10:25:21 2013 UTC (10 years, 11 months ago) by niro
File size: 572 byte(s)
-fixed whitespaces
1 | niro | 837 | # $Id$ |
2 | |||
3 | niro | 2188 | VERSION = $(shell cat VERSION) |
4 | PREFIX = /usr | ||
5 | niro | 837 | |
6 | niro | 2184 | RM = rm |
7 | SED = sed | ||
8 | INSTALL = install | ||
9 | |||
10 | niro | 2188 | sbindir = $(PREFIX)/sbin |
11 | srcdir = . | ||
12 | niro | 837 | |
13 | niro | 1488 | all: |
14 | niro | 2186 | $(SED) "s:@VERSION@:$(VERSION):g" \ |
15 | $(srcdir)/mage-bootstrap.sh.in \ | ||
16 | > $(srcdir)/mage-bootstrap.sh | ||
17 | niro | 837 | |
18 | install: | ||
19 | niro | 2184 | $(INSTALL) -d -m 0755 $(DESTDIR)$(sbindir) |
20 | niro | 2186 | $(INSTALL) -m 0755 $(srcdir)/mage-bootstrap.sh \ |
21 | $(DESTDIR)$(sbindir)/mage-bootstrap | ||
22 | $(INSTALL) -m 0755 $(srcdir)/bootstrap-default-system.sh \ | ||
23 | $(DESTDIR)$(sbindir)/bootstrap-default-system | ||
24 | niro | 837 | |
25 | niro | 2187 | test: |
26 | |||
27 | niro | 2182 | clean: |
28 | niro | 2184 | $(RM) -f $(srcdir)/mage-bootstrap.sh |
29 | niro | 2182 | |
30 | niro | 2187 | .PHONY: all install clean test |