Magellan Linux

Contents of /alx-src/branches/alxconf-060/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4913 - (show annotations) (download)
Wed May 29 09:32:37 2013 UTC (10 years, 11 months ago) by niro
File size: 4023 byte(s)
-added citrix_spe plugin to support speechdetection with the Philips SpeechMike II/III
1 # alxconfig-ng
2 # $Id$
3
4 DESTDIR=
5
6 prefix=/usr
7 sysconfdir=/etc
8 alxconfdir=$(sysconfdir)/alxconfig-ng
9 libdir=$(prefix)/lib/alxconfig-ng
10 sbindir=$(prefix)/sbin
11 bindir=$(prefix)/bin
12
13 all: install
14
15 create-dirs:
16 install -d -m 0755 $(DESTDIR)/$(alxconfdir)/skel
17 install -d -m 0755 $(DESTDIR)/$(alxconfdir)/skel/fluxbox
18 install -d -m 0755 $(DESTDIR)/$(alxconfdir)/skel/net
19 install -d -m 0755 $(DESTDIR)/$(alxconfdir)/skel/slim
20 install -d -m 0755 $(DESTDIR)/$(alxconfdir)/ica-sessions/icons
21 install -d -m 0755 $(DESTDIR)/$(sysconfdir)/rc.d/init.d
22 install -d -m 0755 $(DESTDIR)/$(sysconfdir)/conf.d/hwsetup
23 install -d -m 0755 $(DESTDIR)/$(libdir)/functions
24 install -d -m 0755 $(DESTDIR)/$(libdir)/bin
25 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/terminal
26 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/firefox
27 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/flashplayer
28 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/remserial
29 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/rdesktop
30 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/usbip
31 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/egk_scm
32 install -d -m 0755 $(DESTDIR)/$(libdir)/plugins/citrix_spe
33 install -d -m 0755 $(DESTDIR)/$(sbindir)
34 install -d -m 0755 $(DESTDIR)/$(bindir)
35
36 install-files:
37 install -m 0755 bin/update-alx.sh $(DESTDIR)$(sbindir)/update-alx
38 install -m 0755 bin/alx-hwdetection.sh $(DESTDIR)$(sbindir)/alx-hwdetection
39 install -m 0755 bin/txt2html.sh $(DESTDIR)$(bindir)/txt2html
40
41 # inits
42 install -m 0755 init.d/alxsetstate $(DESTDIR)$(sysconfdir)/rc.d/init.d/
43 install -m 0755 init.d/alxsettings $(DESTDIR)$(sysconfdir)/rc.d/init.d/
44
45 # lib bins
46 install -m 0755 bin/user_shutdown.sh $(DESTDIR)$(libdir)/bin/
47 install -m 0755 bin/user_reboot.sh $(DESTDIR)$(libdir)/bin/
48
49 # functions
50 install -m 0644 functions/config_network.sh $(DESTDIR)$(libdir)/functions/config_network
51 install -m 0644 functions/config_printers.sh $(DESTDIR)$(libdir)/functions/config_printers
52 install -m 0644 functions/config_sessions.sh $(DESTDIR)$(libdir)/functions/config_sessions
53 install -m 0644 functions/config_x11.sh $(DESTDIR)$(libdir)/functions/config_x11
54 install -m 0644 functions/config_auth.sh $(DESTDIR)$(libdir)/functions/config_auth
55 install -m 0644 functions/config_ssh_auth.sh $(DESTDIR)$(libdir)/functions/config_ssh_auth
56 install -m 0644 functions/config_modules.sh $(DESTDIR)$(libdir)/functions/config_modules
57 install -m 0644 functions/config_versions.sh $(DESTDIR)$(libdir)/functions/config_versions
58 install -m 0644 functions/mysqlfunctions $(DESTDIR)$(libdir)/functions/mysqlfunctions
59 install -m 0644 functions/serial_functions.sh $(DESTDIR)$(libdir)/functions/serial_functions
60 install -m 0644 functions/common.sh $(DESTDIR)$(libdir)/functions/common
61 install -m 0644 functions/config_plugins.sh $(DESTDIR)$(libdir)/functions/config_plugins
62
63 # configs
64 install -m 0644 conf/config.rc $(DESTDIR)$(alxconfdir)
65 install -m 0644 conf/unsupported-netcard-drivers $(DESTDIR)$(sysconfdir)/conf.d/hwsetup || die
66
67 # icons
68 install -m 0644 icons/* $(DESTDIR)$(alxconfdir)/ica-sessions/icons/
69
70 # skeletons
71 install -m 0644 skel/fluxbox/* $(DESTDIR)$(alxconfdir)/skel/fluxbox/
72 install -m 0644 skel/net/* $(DESTDIR)$(alxconfdir)/skel/net/
73 install -m 0644 skel/slim/* $(DESTDIR)$(alxconfdir)/skel/slim/
74
75 # plugins
76 install -m 0755 plugins/terminal/plugin.sh $(DESTDIR)/$(libdir)/plugins/terminal/
77 install -m 0755 plugins/firefox/plugin.sh $(DESTDIR)/$(libdir)/plugins/firefox/
78 install -m 0755 plugins/flashplayer/plugin.sh $(DESTDIR)/$(libdir)/plugins/flashplayer/
79 install -m 0755 plugins/remserial/plugin.sh $(DESTDIR)/$(libdir)/plugins/remserial/
80 install -m 0755 plugins/rdesktop/plugin.sh $(DESTDIR)/$(libdir)/plugins/rdesktop/
81 install -m 0755 plugins/usbip/plugin.sh $(DESTDIR)/$(libdir)/plugins/usbip/
82 install -m 0755 plugins/egk_scm/plugin.sh $(DESTDIR)/$(libdir)/plugins/egk_scm/
83 install -m 0755 plugins/citrix_spe/plugin.sh $(DESTDIR)/$(libdir)/plugins/citrix_spe/
84
85 install: create-dirs install-files
86
87 .PHONY: all install