Magellan Linux

Contents of /trunk/bootstrap/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2186 - (show annotations) (download)
Wed Oct 9 10:22:48 2013 UTC (10 years, 6 months ago) by niro
File size: 552 byte(s)
-use adequate line breaks
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 clean:
26 $(RM) -f $(srcdir)/mage-bootstrap.sh
27
28 .PHONY: all install clean