Contents of /mcore-src/trunk/mcore-tools/src/sysvinit/Makefile
Parent Directory | Revision Log
Revision 2250 -
(show annotations)
(download)
Mon Jan 13 13:39:18 2014 UTC (10 years, 8 months ago) by niro
File size: 546 byte(s)
Mon Jan 13 13:39:18 2014 UTC (10 years, 8 months ago) by niro
File size: 546 byte(s)
-added Makefile
1 | |
2 | include ../../Makefile.inc |
3 | |
4 | SYSVRCDDIR = $(SYSCONFDIR)/rc.d |
5 | SYSVINITDDIR = $(SYSRCDDIR)/init.d |
6 | RUNDIR = $(LOCALSTATEDIR)/run |
7 | |
8 | FILES = mcored.rc |
9 | |
10 | SCRIPT_SED_LINES += \ |
11 | -e "s:@@SYSVINITDDIR@@:$(SYSVINITDDIR):g" \ |
12 | -e "s:@@SYSVRCDDIR@@:$(SYSVRCDDIR):g" |
13 | |
14 | all: $(FILES) |
15 | |
16 | install: install-client-services-sysvinit |
17 | |
18 | install-client-services-sysvinit: all |
19 | $(INSTALL) -d $(DESTDIR)/$(SYSVINITDDIR) |
20 | $(INSTALL) -m0755 mcored.rc $(DESTDIR)/$(SYSVINITDDIR)/mcored |
21 | |
22 | clean: |
23 | rm -f $(FILES) |
24 | |
25 | .PHONE: install-client-services-sysvinit |
26 | .PHONY: all install clean |