Annotation of /trunk/bootstrap/Makefile
Parent Directory | Revision Log
Revision 2182 -
(hide annotations)
(download)
Tue Oct 8 14:43:42 2013 UTC (10 years, 11 months ago) by niro
File size: 494 byte(s)
Tue Oct 8 14:43:42 2013 UTC (10 years, 11 months ago) by niro
File size: 494 byte(s)
-added clean target to Makefile
1 | niro | 837 | # $Id$ |
2 | |||
3 | niro | 1488 | VERSION=$(shell cat VERSION) |
4 | |||
5 | niro | 837 | DESTDIR= |
6 | PREFIX=/usr | ||
7 | |||
8 | sbindir=$(PREFIX)/sbin | ||
9 | srcdir=. | ||
10 | |||
11 | niro | 1488 | all: |
12 | sed "s:@VERSION@:$(VERSION):g" $(srcdir)/mage-bootstrap.sh.in > $(srcdir)/mage-bootstrap.sh | ||
13 | niro | 837 | |
14 | install: | ||
15 | install -d -m 0755 $(DESTDIR)$(sbindir) | ||
16 | install -m 0755 $(srcdir)/mage-bootstrap.sh $(DESTDIR)$(sbindir)/mage-bootstrap | ||
17 | install -m 0755 $(srcdir)/bootstrap-default-system.sh $(DESTDIR)$(sbindir)/bootstrap-default-system | ||
18 | |||
19 | niro | 2182 | clean: |
20 | rm -f $(srcdir)/mage-bootstrap.sh | ||
21 | |||
22 | .PHONY: all install clean |