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