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