Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2291 - (show annotations) (download)
Thu Jan 16 13:25:56 2014 UTC (10 years, 3 months ago) by niro
File size: 526 byte(s)
-install dracut module
1 # $Id$
2
3 include Makefile.inc
4
5 SUBDIRS = src conf certs icons dracut
6
7 INSTALLDIRS = $(SUBDIRS:%=install-%)
8 CLEANDIRS = $(SUBDIRS:%=clean-%)
9
10 all: $(SUBDIRS)
11
12 install: $(INSTALLDIRS)
13 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)
14 $(INSTALL) -m0644 VERSION $(DESTDIR)/${MCORE_LIBDIR}/VERSION
15
16 clean: $(CLEANDIRS)
17
18 $(SUBDIRS):
19 $(MAKE) -C $@
20
21 $(INSTALLDIRS):
22 $(MAKE) -C $(@:install-%=%) install
23
24 $(CLEANDIRS):
25 $(MAKE) -C $(@:clean-%=%) clean
26
27 .PHONY: $(SUBDIRS)
28 .PHONY: $(INSTALLDIRS)
29 .PHONY: $(CLEANDIRS)
30 .PHONY: all install clean