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