Contents of /alx-src/tags/alxconf-0_6_0-rc2/Makefile
Parent Directory
|
Revision Log
Revision 2038 -
(show annotations)
(download)
Wed May 11 09:17:06 2011 UTC (13 years, 1 month ago) by niro
Original Path: alx-src/branches/alxconf-060/Makefile
File size: 3025 byte(s)
Wed May 11 09:17:06 2011 UTC (13 years, 1 month ago) by niro
Original Path: alx-src/branches/alxconf-060/Makefile
File size: 3025 byte(s)
-install common.sh
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)/skel/xtdesktop |
21 | install -d -m 0755 $(DESTDIR)/$(alxconfdir)/ica-sessions/icons |
22 | install -d -m 0755 $(DESTDIR)/$(sysconfdir)/rc.d/init.d |
23 | install -d -m 0755 $(DESTDIR)/$(sysconfdir)/conf.d/hwsetup |
24 | install -d -m 0755 $(DESTDIR)/$(libdir)/functions |
25 | install -d -m 0755 $(DESTDIR)/$(libdir)/bin |
26 | install -d -m 0755 $(DESTDIR)/$(sbindir) |
27 | install -d -m 0755 $(DESTDIR)/$(bindir) |
28 | |
29 | install-files: |
30 | install -m 0755 bin/update-alx.sh $(DESTDIR)$(sbindir)/update-alx |
31 | install -m 0755 bin/txt2html.sh $(DESTDIR)$(bindir)/txt2html |
32 | |
33 | # inits |
34 | install -m 0755 init.d/alxsetstate $(DESTDIR)$(sysconfdir)/rc.d/init.d/ |
35 | install -m 0755 init.d/alxsettings $(DESTDIR)$(sysconfdir)/rc.d/init.d/ |
36 | |
37 | # lib bins |
38 | install -m 0755 bin/user_shutdown.sh $(DESTDIR)$(libdir)/bin/ |
39 | install -m 0755 bin/user_reboot.sh $(DESTDIR)$(libdir)/bin/ |
40 | |
41 | # functions |
42 | install -m 0644 functions/config_network.sh $(DESTDIR)$(libdir)/functions/config_network |
43 | install -m 0644 functions/config_printers.sh $(DESTDIR)$(libdir)/functions/config_printers |
44 | install -m 0644 functions/config_sessions.sh $(DESTDIR)$(libdir)/functions/config_sessions |
45 | install -m 0644 functions/config_x11.sh $(DESTDIR)$(libdir)/functions/config_x11 |
46 | install -m 0644 functions/config_auth.sh $(DESTDIR)$(libdir)/functions/config_auth |
47 | install -m 0644 functions/config_ssh_auth.sh $(DESTDIR)$(libdir)/functions/config_ssh_auth |
48 | install -m 0644 functions/config_modules.sh $(DESTDIR)$(libdir)/functions/config_modules |
49 | install -m 0644 functions/config_versions.sh $(DESTDIR)$(libdir)/functions/config_versions |
50 | install -m 0644 functions/mysqlfunctions $(DESTDIR)$(libdir)/functions/mysqlfunctions |
51 | install -m 0644 functions/serial_functions.sh $(DESTDIR)$(libdir)/functions/serial_functions |
52 | install -m 0644 functions/common.sh $(DESTDIR)$(libdir)/functions/common |
53 | |
54 | # configs |
55 | install -m 0644 conf/config.rc $(DESTDIR)$(alxconfdir) |
56 | install -m 0644 conf/unsupported-netcard-drivers $(DESTDIR)$(sysconfdir)/conf.d/hwsetup || die |
57 | |
58 | # icons |
59 | install -m 0644 icons/default.png $(DESTDIR)$(alxconfdir)/ica-sessions/icons/ |
60 | install -m 0644 icons/default_item.png $(DESTDIR)$(alxconfdir)/ica-sessions/icons/ |
61 | install -m 0644 icons/sysinfo.png $(DESTDIR)$(alxconfdir)/ica-sessions/icons/ |
62 | |
63 | # skeletons |
64 | install -m 0644 skel/fluxbox/* $(DESTDIR)$(alxconfdir)/skel/fluxbox/ |
65 | install -m 0644 skel/net/* $(DESTDIR)$(alxconfdir)/skel/net/ |
66 | install -m 0644 skel/xtdesktop/* $(DESTDIR)$(alxconfdir)/skel/xtdesktop/ |
67 | install -m 0644 skel/slim/* $(DESTDIR)$(alxconfdir)/skel/slim/ |
68 | |
69 | install: create-dirs \ |
70 | install-files \ |
71 | |
72 | .PHONY: all install |