Contents of /alx-src/tags/alxconf-0_6_8/Makefile
Parent Directory | Revision Log
Revision 5588 -
(show annotations)
(download)
Wed Apr 23 13:20:54 2014 UTC (10 years, 5 months ago) by niro
File size: 4097 byte(s)
Wed Apr 23 13:20:54 2014 UTC (10 years, 5 months ago) by niro
File size: 4097 byte(s)
tagged 'alxconf-0_6_8'
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 | install -m 0755 bin/wfica-launcher.sh $(DESTDIR)$(bindir)/wfica-launcher |
41 | |
42 | # inits |
43 | install -m 0755 init.d/alxsetstate $(DESTDIR)$(sysconfdir)/rc.d/init.d/ |
44 | install -m 0755 init.d/alxsettings $(DESTDIR)$(sysconfdir)/rc.d/init.d/ |
45 | |
46 | # lib bins |
47 | install -m 0755 bin/user_shutdown.sh $(DESTDIR)$(libdir)/bin/ |
48 | install -m 0755 bin/user_reboot.sh $(DESTDIR)$(libdir)/bin/ |
49 | |
50 | # functions |
51 | install -m 0644 functions/config_network.sh $(DESTDIR)$(libdir)/functions/config_network |
52 | install -m 0644 functions/config_printers.sh $(DESTDIR)$(libdir)/functions/config_printers |
53 | install -m 0644 functions/config_sessions.sh $(DESTDIR)$(libdir)/functions/config_sessions |
54 | install -m 0644 functions/config_x11.sh $(DESTDIR)$(libdir)/functions/config_x11 |
55 | install -m 0644 functions/config_auth.sh $(DESTDIR)$(libdir)/functions/config_auth |
56 | install -m 0644 functions/config_ssh_auth.sh $(DESTDIR)$(libdir)/functions/config_ssh_auth |
57 | install -m 0644 functions/config_modules.sh $(DESTDIR)$(libdir)/functions/config_modules |
58 | install -m 0644 functions/config_versions.sh $(DESTDIR)$(libdir)/functions/config_versions |
59 | install -m 0644 functions/mysqlfunctions $(DESTDIR)$(libdir)/functions/mysqlfunctions |
60 | install -m 0644 functions/serial_functions.sh $(DESTDIR)$(libdir)/functions/serial_functions |
61 | install -m 0644 functions/common.sh $(DESTDIR)$(libdir)/functions/common |
62 | install -m 0644 functions/config_plugins.sh $(DESTDIR)$(libdir)/functions/config_plugins |
63 | |
64 | # configs |
65 | install -m 0644 conf/config.rc $(DESTDIR)$(alxconfdir) |
66 | install -m 0644 conf/unsupported-netcard-drivers $(DESTDIR)$(sysconfdir)/conf.d/hwsetup || die |
67 | |
68 | # icons |
69 | install -m 0644 icons/* $(DESTDIR)$(alxconfdir)/ica-sessions/icons/ |
70 | |
71 | # skeletons |
72 | install -m 0644 skel/fluxbox/* $(DESTDIR)$(alxconfdir)/skel/fluxbox/ |
73 | install -m 0644 skel/net/* $(DESTDIR)$(alxconfdir)/skel/net/ |
74 | install -m 0644 skel/slim/* $(DESTDIR)$(alxconfdir)/skel/slim/ |
75 | |
76 | # plugins |
77 | install -m 0755 plugins/terminal/plugin.sh $(DESTDIR)/$(libdir)/plugins/terminal/ |
78 | install -m 0755 plugins/firefox/plugin.sh $(DESTDIR)/$(libdir)/plugins/firefox/ |
79 | install -m 0755 plugins/flashplayer/plugin.sh $(DESTDIR)/$(libdir)/plugins/flashplayer/ |
80 | install -m 0755 plugins/remserial/plugin.sh $(DESTDIR)/$(libdir)/plugins/remserial/ |
81 | install -m 0755 plugins/rdesktop/plugin.sh $(DESTDIR)/$(libdir)/plugins/rdesktop/ |
82 | install -m 0755 plugins/usbip/plugin.sh $(DESTDIR)/$(libdir)/plugins/usbip/ |
83 | install -m 0755 plugins/egk_scm/plugin.sh $(DESTDIR)/$(libdir)/plugins/egk_scm/ |
84 | install -m 0755 plugins/citrix_spe/plugin.sh $(DESTDIR)/$(libdir)/plugins/citrix_spe/ |
85 | |
86 | install: create-dirs install-files |
87 | |
88 | .PHONY: all install |