Diff of /trunk/bootstrap/Makefile
Parent Directory | Revision Log | Patch
revision 837 by niro, Sun May 3 17:18:46 2009 UTC | revision 1488 by niro, Thu Aug 4 13:20:03 2011 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | # $Id$ | # $Id$ |
2 | ||
3 | VERSION=$(shell cat VERSION) | |
4 | ||
5 | DESTDIR= | DESTDIR= |
6 | PREFIX=/usr | PREFIX=/usr |
7 | ||
8 | sbindir=$(PREFIX)/sbin | sbindir=$(PREFIX)/sbin |
9 | srcdir=. | srcdir=. |
10 | ||
11 | all: install | all: |
12 | sed "s:@VERSION@:$(VERSION):g" $(srcdir)/mage-bootstrap.sh.in > $(srcdir)/mage-bootstrap.sh | |
13 | ||
14 | install: | install: |
15 | install -d -m 0755 $(DESTDIR)$(sbindir) | install -d -m 0755 $(DESTDIR)$(sbindir) |
|