Magellan Linux

Annotation of /trunk/bootstrap/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


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