Contents of /mcore-src/trunk/mcore-tools/dracut/mcored-citrix/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: 1005 byte(s)
Mon Dec 21 09:31:33 2015 UTC (8 years, 5 months ago) by niro
File size: 1005 byte(s)
-reworked Makefiles that they really support install-common, install-client and install install-control targets
1 | include ../../Makefile.inc |
2 | |
3 | SCRIPTS = module-setup.sh |
4 | |
5 | DRACUTCONFDIR = $(SYSCONFDIR)/dracut.conf.d |
6 | DRACUTMODULESDIR = $(LIBDIR)/dracut/modules.d |
7 | PNABROWSE_ICAROOT = /opt/ica-client |
8 | PNABROWSE_EXECUTABLE = $(PNABROWSE_ICAROOT)/util/pnabrowse |
9 | |
10 | SCRIPT_SED_LINES += \ |
11 | -e "s:@@DRACUTCONFDIR@@:$(DRACUTCONFDIR):g" \ |
12 | -e "s:@@DRACUTMODULESDIR@@:$(DRACUTMODULESDIR):g" \ |
13 | -e "s:@@PNABROWSE_ICAROOT@@:$(PNABROWSE_ICAROOT):g" \ |
14 | -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" |
15 | |
16 | all: $(SCRIPTS) |
17 | |
18 | install: install-common install-client install-control all |
19 | |
20 | install-common: all |
21 | |
22 | install-client: all |
23 | $(INSTALL) -d $(DESTDIR)/$(DRACUTCONFDIR) |
24 | $(INSTALL) -m0644 mcored-citrix.conf $(DESTDIR)/$(DRACUTCONFDIR)/51-mcored-citrix.conf |
25 | $(INSTALL) -d $(DESTDIR)/$(DRACUTMODULESDIR)/71mcored-citrix |
26 | $(INSTALL) -m0755 *.sh $(DESTDIR)/$(DRACUTMODULESDIR)/71mcored-citrix |
27 | |
28 | install-control: all |
29 | |
30 | clean: |
31 | rm -f $(SCRIPTS) |
32 | |
33 | .PHONY: install-common |
34 | .PHONY: install-client |
35 | .PHONY: install-control |
36 | .PHONY: all install clean |