Contents of /alx-src/branches/alxconf-060/Makefile
Parent Directory
|
Revision Log
Revision 3391 -
(show annotations)
(download)
Wed Mar 28 15:04:52 2012 UTC (12 years, 1 month ago) by niro
File size: 3606 byte(s)
Wed Mar 28 15:04:52 2012 UTC (12 years, 1 month ago) by niro
File size: 3606 byte(s)
-added rdesktop plugin
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)/$(sbindir) |
31 | install -d -m 0755 $(DESTDIR)/$(bindir) |
32 | |
33 | install-files: |
34 | install -m 0755 bin/update-alx.sh $(DESTDIR)$(sbindir)/update-alx |
35 | install -m 0755 bin/alx-hwdetection.sh $(DESTDIR)$(sbindir)/alx-hwdetection |
36 | install -m 0755 bin/txt2html.sh $(DESTDIR)$(bindir)/txt2html |
37 | |
38 | # inits |
39 | install -m 0755 init.d/alxsetstate $(DESTDIR)$(sysconfdir)/rc.d/init.d/ |
40 | install -m 0755 init.d/alxsettings $(DESTDIR)$(sysconfdir)/rc.d/init.d/ |
41 | |
42 | # lib bins |
43 | install -m 0755 bin/user_shutdown.sh $(DESTDIR)$(libdir)/bin/ |
44 | install -m 0755 bin/user_reboot.sh $(DESTDIR)$(libdir)/bin/ |
45 | |
46 | # functions |
47 | install -m 0644 functions/config_network.sh $(DESTDIR)$(libdir)/functions/config_network |
48 | install -m 0644 functions/config_printers.sh $(DESTDIR)$(libdir)/functions/config_printers |
49 | install -m 0644 functions/config_sessions.sh $(DESTDIR)$(libdir)/functions/config_sessions |
50 | install -m 0644 functions/config_x11.sh $(DESTDIR)$(libdir)/functions/config_x11 |
51 | install -m 0644 functions/config_auth.sh $(DESTDIR)$(libdir)/functions/config_auth |
52 | install -m 0644 functions/config_ssh_auth.sh $(DESTDIR)$(libdir)/functions/config_ssh_auth |
53 | install -m 0644 functions/config_modules.sh $(DESTDIR)$(libdir)/functions/config_modules |
54 | install -m 0644 functions/config_versions.sh $(DESTDIR)$(libdir)/functions/config_versions |
55 | install -m 0644 functions/mysqlfunctions $(DESTDIR)$(libdir)/functions/mysqlfunctions |
56 | install -m 0644 functions/serial_functions.sh $(DESTDIR)$(libdir)/functions/serial_functions |
57 | install -m 0644 functions/common.sh $(DESTDIR)$(libdir)/functions/common |
58 | install -m 0644 functions/config_plugins.sh $(DESTDIR)$(libdir)/functions/config_plugins |
59 | |
60 | # configs |
61 | install -m 0644 conf/config.rc $(DESTDIR)$(alxconfdir) |
62 | install -m 0644 conf/unsupported-netcard-drivers $(DESTDIR)$(sysconfdir)/conf.d/hwsetup || die |
63 | |
64 | # icons |
65 | install -m 0644 icons/* $(DESTDIR)$(alxconfdir)/ica-sessions/icons/ |
66 | |
67 | # skeletons |
68 | install -m 0644 skel/fluxbox/* $(DESTDIR)$(alxconfdir)/skel/fluxbox/ |
69 | install -m 0644 skel/net/* $(DESTDIR)$(alxconfdir)/skel/net/ |
70 | install -m 0644 skel/slim/* $(DESTDIR)$(alxconfdir)/skel/slim/ |
71 | |
72 | # plugins |
73 | install -m 0755 plugins/terminal/plugin.sh $(DESTDIR)/$(libdir)/plugins/terminal/ |
74 | install -m 0755 plugins/firefox/plugin.sh $(DESTDIR)/$(libdir)/plugins/firefox/ |
75 | install -m 0755 plugins/flashplayer/plugin.sh $(DESTDIR)/$(libdir)/plugins/flashplayer/ |
76 | install -m 0755 plugins/remserial/plugin.sh $(DESTDIR)/$(libdir)/plugins/remserial/ |
77 | install -m 0755 plugins/rdesktop/plugin.sh $(DESTDIR)/$(libdir)/plugins/rdesktop/ |
78 | |
79 | install: create-dirs install-files |
80 | |
81 | .PHONY: all install |