Magellan Linux

Contents of /trunk/bootstrap/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2182 - (show annotations) (download)
Tue Oct 8 14:43:42 2013 UTC (10 years, 6 months ago) by niro
File size: 494 byte(s)
-added clean target to Makefile
1 # $Id$
2
3 VERSION=$(shell cat VERSION)
4
5 DESTDIR=
6 PREFIX=/usr
7
8 sbindir=$(PREFIX)/sbin
9 srcdir=.
10
11 all:
12 sed "s:@VERSION@:$(VERSION):g" $(srcdir)/mage-bootstrap.sh.in > $(srcdir)/mage-bootstrap.sh
13
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 clean:
20 rm -f $(srcdir)/mage-bootstrap.sh
21
22 .PHONY: all install clean