Contents of /mcore-src/trunk/mcore-tools/Makefile
Parent Directory | Revision Log
Revision 2315 -
(show annotations)
(download)
Mon Jan 20 15:54:16 2014 UTC (10 years, 8 months ago) by niro
File size: 531 byte(s)
Mon Jan 20 15:54:16 2014 UTC (10 years, 8 months ago) by niro
File size: 531 byte(s)
-install grub configuration to enable networking
1 | # $Id$ |
2 | |
3 | include Makefile.inc |
4 | |
5 | SUBDIRS = src conf certs icons dracut grub |
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 |