Annotation of /tags/bootstrap-1_11/Makefile
Parent Directory | Revision Log
Revision 1491 -
(hide annotations)
(download)
Thu Aug 4 13:22:28 2011 UTC (13 years, 1 month ago) by niro
File size: 445 byte(s)
Thu Aug 4 13:22:28 2011 UTC (13 years, 1 month ago) by niro
File size: 445 byte(s)
tagged 'bootstrap-1_11'
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 | .PHONY: all install |