Contents of /mcore-src/trunk/mcore-tools/conf/Makefile
Parent Directory | Revision Log
Revision 2724 -
(show annotations)
(download)
Mon Dec 21 09:31:33 2015 UTC (8 years, 5 months ago) by niro
File size: 533 byte(s)
Mon Dec 21 09:31:33 2015 UTC (8 years, 5 months ago) by niro
File size: 533 byte(s)
-reworked Makefiles that they really support install-common, install-client and install install-control targets
1 | include ../Makefile.inc |
2 | |
3 | FILES = mcore.conf control.conf |
4 | |
5 | all: $(FILES) |
6 | |
7 | install: install-common install-client install-control all |
8 | |
9 | install-common: all |
10 | $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore |
11 | $(INSTALL) -m0644 mcore.conf $(DESTDIR)/$(SYSCONFDIR)/mcore |
12 | |
13 | install-client: all |
14 | |
15 | install-control: all |
16 | $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore |
17 | $(INSTALL) -m0600 control.conf $(DESTDIR)/$(SYSCONFDIR)/mcore |
18 | |
19 | clean: |
20 | rm -f $(FILES) |
21 | |
22 | .PHONY: install-common |
23 | .PHONY: install-client |
24 | .PHONY: install-control |
25 | .PHONY: all install clean |