Contents of /mcore-src/trunk/mcore-tools/dracut/Makefile
Parent Directory | Revision Log
Revision 2316 -
(show annotations)
(download)
Thu Feb 6 10:32:27 2014 UTC (10 years, 4 months ago) by niro
File size: 597 byte(s)
Thu Feb 6 10:32:27 2014 UTC (10 years, 4 months ago) by niro
File size: 597 byte(s)
-install dracut config with prio level 50
1 | include ../Makefile.inc |
2 | |
3 | SCRIPTS = run-mcored.sh module-setup.sh |
4 | |
5 | DRACUTCONFDIR = $(SYSCONFDIR)/dracut.conf.d |
6 | DRACUTMODULESDIR = $(LIBDIR)/dracut/modules.d |
7 | |
8 | SCRIPT_SED_LINES += \ |
9 | -e "s:@@DRACUTCONFDIR@@:$(DRACUTCONFDIR):g" \ |
10 | -e "s:@@DRACUTMODULESDIR@@:$(DRACUTMODULESDIR):g" |
11 | |
12 | all: $(SCRIPTS) |
13 | |
14 | install: all |
15 | $(INSTALL) -d $(DESTDIR)/$(DRACUTCONFDIR) |
16 | $(INSTALL) -m0644 mcored.conf $(DESTDIR)/$(DRACUTCONFDIR)/50-mcored.conf |
17 | $(INSTALL) -d $(DESTDIR)/$(DRACUTMODULESDIR)/70mcored |
18 | $(INSTALL) -m0755 *.sh $(DESTDIR)/$(DRACUTMODULESDIR)/70mcored |
19 | |
20 | clean: |
21 | rm -f $(SCRIPTS) |
22 | |
23 | .PHONY: all install clean |