Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/src/modules/citrix/systemd/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2693 - (show annotations) (download)
Fri Dec 11 13:00:28 2015 UTC (8 years, 4 months ago) by niro
File size: 828 byte(s)
-added systemd services and timers
1
2 include ../../../../Makefile.inc
3
4 SYSTEMDSYSTEMUNITDIR = $(shell $(PKGCONFIG) --variable=systemdsystemunitdir systemd)
5
6 FILES = mcore-storefront.service mcore-citrix.service
7
8 all: $(FILES)
9
10 install: install-client-services-systemd install-control-services-systemd
11
12 install-client-services-systemd: all
13
14 install-control-services-systemd: all
15 $(INSTALL) -d $(DESTDIR)/$(SYSTEMDSYSTEMUNITDIR)
16 $(INSTALL) -m0644 mcore-storefront.service $(DESTDIR)/$(SYSTEMDSYSTEMUNITDIR)
17 $(INSTALL) -m0644 mcore-storefront.timer $(DESTDIR)/$(SYSTEMDSYSTEMUNITDIR)
18 $(INSTALL) -m0644 mcore-citrix.service $(DESTDIR)/$(SYSTEMDSYSTEMUNITDIR)
19 $(INSTALL) -m0644 mcore-citrix.timer $(DESTDIR)/$(SYSTEMDSYSTEMUNITDIR)
20
21 clean:
22 rm -f $(FILES)
23
24 .PHONY: install-client-services-systemd
25 .PHONY: install-control-services-systemd
26 .PHONY: all install clean