Annotation of /trunk/bootstrap/Makefile
Parent Directory | Revision Log
Revision 2186 -
(hide annotations)
(download)
Wed Oct 9 10:22:48 2013 UTC (10 years, 11 months ago) by niro
File size: 552 byte(s)
Wed Oct 9 10:22:48 2013 UTC (10 years, 11 months ago) by niro
File size: 552 byte(s)
-use adequate line breaks
1 | niro | 837 | # $Id$ |
2 | |||
3 | niro | 1488 | VERSION=$(shell cat VERSION) |
4 | niro | 837 | PREFIX=/usr |
5 | |||
6 | niro | 2184 | RM = rm |
7 | SED = sed | ||
8 | INSTALL = install | ||
9 | |||
10 | niro | 837 | sbindir=$(PREFIX)/sbin |
11 | srcdir=. | ||
12 | |||
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 | 2182 | clean: |
26 | niro | 2184 | $(RM) -f $(srcdir)/mage-bootstrap.sh |
27 | niro | 2182 | |
28 | .PHONY: all install clean |