Annotation of /mcore-src/trunk/mcore-tools/src/modules/citrix/Makefile
Parent Directory | Revision Log
Revision 2337 -
(hide annotations)
(download)
Mon Jul 14 07:51:58 2014 UTC (9 years, 10 months ago) by niro
File size: 1151 byte(s)
Mon Jul 14 07:51:58 2014 UTC (9 years, 10 months ago) by niro
File size: 1151 byte(s)
-honor PNABROWSE_ICAROOT
1 | niro | 2178 | include ../../../Makefile.inc |
2 | |||
3 | niro | 2272 | SCRIPTS = citrix.client.class citrix.conf query-citrix-browser citrix-session citrix-serverlist |
4 | niro | 2178 | |
5 | niro | 2337 | PNABROWSE_ICAROOT = /opt/ica-client |
6 | PNABROWSE_EXECUTABLE = $(PNABROWSE_ICAROOT)/util/pnabrowse | ||
7 | niro | 2259 | PNABROWSE_CITRIX_BROWSER = ica |
8 | PNABROWSE_SERVER_EXCLUDE = | ||
9 | PNABROWSE_SESSION_EXCLUDE = | ||
10 | |||
11 | SCRIPT_SED_LINES += \ | ||
12 | niro | 2337 | -e "s:@@PNABROWSE_ICAROOT@@:$(PNABROWSE_ICAROOT):g" \ |
13 | niro | 2259 | -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" \ |
14 | -e "s:@@PNABROWSE_CITRIX_BROWSER@@:$(PNABROWSE_CITRIX_BROWSER):g" \ | ||
15 | -e "s:@@PNABROWSE_SERVER_EXCLUDE@@:$(PNABROWSE_SERVER_EXCLUDE):g" \ | ||
16 | -e "s:@@PNABROWSE_SESSION_EXCLUDE@@:$(PNABROWSE_SESSION_EXCLUDE):g" | ||
17 | |||
18 | niro | 2178 | all: $(SCRIPTS) |
19 | |||
20 | install: all | ||
21 | niro | 2259 | $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore |
22 | $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore | ||
23 | niro | 2178 | $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include |
24 | $(INSTALL) -m0644 *.class $(DESTDIR)/$(MCORE_LIBDIR)/include | ||
25 | niro | 2272 | $(INSTALL) -m0755 query-citrix-browser $(DESTDIR)/$(MCORE_LIBDIR) |
26 | $(INSTALL) -m0755 citrix-session $(DESTDIR)/$(MCORE_LIBDIR) | ||
27 | $(INSTALL) -m0755 citrix-serverlist $(DESTDIR)/$(MCORE_LIBDIR) | ||
28 | niro | 2178 | |
29 | clean: | ||
30 | rm -f $(SCRIPTS) | ||
31 | |||
32 | .PHONY: all install clean |