Magellan Linux

Contents of /trunk/bootstrap/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2188 - (show annotations) (download)
Wed Oct 9 10:25:21 2013 UTC (10 years, 6 months ago) by niro
File size: 572 byte(s)
-fixed whitespaces
1 # $Id$
2
3 VERSION = $(shell cat VERSION)
4 PREFIX = /usr
5
6 RM = rm
7 SED = sed
8 INSTALL = install
9
10 sbindir = $(PREFIX)/sbin
11 srcdir = .
12
13 all:
14 $(SED) "s:@VERSION@:$(VERSION):g" \
15 $(srcdir)/mage-bootstrap.sh.in \
16 > $(srcdir)/mage-bootstrap.sh
17
18 install:
19 $(INSTALL) -d -m 0755 $(DESTDIR)$(sbindir)
20 $(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
25 test:
26
27 clean:
28 $(RM) -f $(srcdir)/mage-bootstrap.sh
29
30 .PHONY: all install clean test