Contents of /trunk/mlivecdbuild/Makefile
Parent Directory | Revision Log
Revision 864 -
(show annotations)
(download)
Sat May 9 12:06:31 2009 UTC (15 years, 4 months ago) by niro
File size: 5760 byte(s)
Sat May 9 12:06:31 2009 UTC (15 years, 4 months ago) by niro
File size: 5760 byte(s)
-install install-$arch and alls svn profiles too
1 | # Magellan ISO generation Utils |
2 | # $Header: /home/cvsd/magellan-cvs/magellan-src/mlivecdbuild/Makefile,v 1.5 2008-04-10 20:57:41 niro Exp $ |
3 | |
4 | DESTDIR= |
5 | |
6 | libdir=/usr/lib/mlivecdbuild |
7 | profilesdir=$(libdir)/profiles |
8 | sbindir=/usr/sbin |
9 | |
10 | srcdir=. |
11 | srcprofiles=$(srcdir)/profiles |
12 | |
13 | all: install |
14 | |
15 | |
16 | create-dirs: |
17 | install -d -m 0755 $(DESTDIR)$(libdir) |
18 | install -d -m 0755 $(DESTDIR)$(profilesdir) |
19 | install -d -m 0755 $(DESTDIR)$(profilesdir)/global |
20 | install -d -m 0755 $(DESTDIR)$(profilesdir)/default |
21 | install -d -m 0755 $(DESTDIR)$(profilesdir)/default-i686 |
22 | install -d -m 0755 $(DESTDIR)$(profilesdir)/default-x86_64 |
23 | install -d -m 0755 $(DESTDIR)$(profilesdir)/default-i686-svn |
24 | install -d -m 0755 $(DESTDIR)$(profilesdir)/default-x86_64-svn |
25 | install -d -m 0755 $(DESTDIR)$(profilesdir)/install-i686 |
26 | install -d -m 0755 $(DESTDIR)$(profilesdir)/install-x86_64 |
27 | install -d -m 0755 $(DESTDIR)$(profilesdir)/install-i686-svn |
28 | install -d -m 0755 $(DESTDIR)$(profilesdir)/install-x86_64-svn |
29 | install -d -m 0755 $(DESTDIR)$(profilesdir)/global-i686 |
30 | install -d -m 0755 $(DESTDIR)$(profilesdir)/global-x86_64 |
31 | install -d -m 0755 $(DESTDIR)$(profilesdir)/knoppix |
32 | install -d -m 0755 $(DESTDIR)$(profilesdir)/knoppix/custom-files |
33 | install -d -m 0755 $(DESTDIR)$(sbindir) |
34 | |
35 | |
36 | install-files: |
37 | install -m 0755 $(srcdir)/mlivecdbuild2.sh $(DESTDIR)$(sbindir)/mlivecdbuild |
38 | |
39 | install -m 0644 $(srcprofiles)/global/boot.lss $(DESTDIR)$(profilesdir)/global |
40 | install -m 0644 $(srcprofiles)/global/boot.msg $(DESTDIR)$(profilesdir)/global |
41 | install -m 0644 $(srcprofiles)/global/fstab $(DESTDIR)$(profilesdir)/global |
42 | install -m 0644 $(srcprofiles)/global/help.msg $(DESTDIR)$(profilesdir)/global |
43 | install -m 0644 $(srcprofiles)/global/inittab $(DESTDIR)$(profilesdir)/global |
44 | install -m 0644 $(srcprofiles)/global/isolinux.cfg $(DESTDIR)$(profilesdir)/global |
45 | install -m 0644 $(srcprofiles)/global/issue $(DESTDIR)$(profilesdir)/global |
46 | install -m 0644 $(srcprofiles)/global/motd $(DESTDIR)$(profilesdir)/global |
47 | install -m 0644 $(srcprofiles)/global/net.eth0 $(DESTDIR)$(profilesdir)/global |
48 | |
49 | install -m 0644 $(srcprofiles)/default/config $(DESTDIR)$(profilesdir)/default |
50 | |
51 | install -m 0644 $(srcprofiles)/default-i686/config $(DESTDIR)$(profilesdir)/default-i686 |
52 | install -m 0644 $(srcprofiles)/default-i686/mage.rc $(DESTDIR)$(profilesdir)/default-i686 |
53 | |
54 | install -m 0644 $(srcprofiles)/default-i686-svn/config $(DESTDIR)$(profilesdir)/default-i686-svn |
55 | install -m 0644 $(srcprofiles)/default-i686-svn/mage.rc $(DESTDIR)$(profilesdir)/default-i686-svn |
56 | |
57 | install -m 0644 $(srcprofiles)/default-x86_64/config $(DESTDIR)$(profilesdir)/default-x86_64 |
58 | install -m 0644 $(srcprofiles)/default-x86_64/mage.rc $(DESTDIR)$(profilesdir)/default-x86_64 |
59 | |
60 | install -m 0644 $(srcprofiles)/default-x86_64-svn/config $(DESTDIR)$(profilesdir)/default-x86_64-svn |
61 | install -m 0644 $(srcprofiles)/default-x86_64-svn/mage.rc $(DESTDIR)$(profilesdir)/default-x86_64-svn |
62 | |
63 | install -m 0644 $(srcprofiles)/install-i686/config $(DESTDIR)$(profilesdir)/install-i686 |
64 | install -m 0644 $(srcprofiles)/install-i686/mage.rc $(DESTDIR)$(profilesdir)/install-i686 |
65 | install -m 0644 $(srcprofiles)/install-i686/add_packages $(DESTDIR)$(profilesdir)/install-i686 |
66 | install -m 0644 $(srcprofiles)/install-i686/prepare_custom $(DESTDIR)$(profilesdir)/install-i686 |
67 | |
68 | install -m 0644 $(srcprofiles)/install-i686-svn/config $(DESTDIR)$(profilesdir)/install-i686-svn |
69 | install -m 0644 $(srcprofiles)/install-i686-svn/mage.rc $(DESTDIR)$(profilesdir)/install-i686-svn |
70 | install -m 0644 $(srcprofiles)/install-i686-svn/add_packages $(DESTDIR)$(profilesdir)/install-i686-svn |
71 | install -m 0644 $(srcprofiles)/install-i686-svn/prepare_custom $(DESTDIR)$(profilesdir)/install-i686n-svn |
72 | |
73 | install -m 0644 $(srcprofiles)/install-x86_64/config $(DESTDIR)$(profilesdir)/install-x86_64 |
74 | install -m 0644 $(srcprofiles)/install-x86_64/mage.rc $(DESTDIR)$(profilesdir)/install-x86_64 |
75 | install -m 0644 $(srcprofiles)/install-x86_64/add_packages $(DESTDIR)$(profilesdir)/install-x86_64 |
76 | install -m 0644 $(srcprofiles)/install-x86_64/prepare_custom $(DESTDIR)$(profilesdir)/install-x86_64 |
77 | |
78 | install -m 0644 $(srcprofiles)/install-x86_64-svn/config $(DESTDIR)$(profilesdir)/install-x86_64-svn |
79 | install -m 0644 $(srcprofiles)/install-x86_64-svn/mage.rc $(DESTDIR)$(profilesdir)/install-x86_64-svn |
80 | install -m 0644 $(srcprofiles)/install-x86_64-svn/add_packages $(DESTDIR)$(profilesdir)/install-x86_64-svn |
81 | install -m 0644 $(srcprofiles)/install-x86_64-svn/prepare_custom $(DESTDIR)$(profilesdir)/install-x86_64-svn |
82 | |
83 | install -m 0644 $(srcprofiles)/knoppix/add_packages $(DESTDIR)$(profilesdir)/knoppix |
84 | install -m 0644 $(srcprofiles)/knoppix/add_services $(DESTDIR)$(profilesdir)/knoppix |
85 | install -m 0644 $(srcprofiles)/knoppix/config $(DESTDIR)$(profilesdir)/knoppix |
86 | install -m 0644 $(srcprofiles)/knoppix/motd $(DESTDIR)$(profilesdir)/knoppix |
87 | install -m 0644 $(srcprofiles)/knoppix/prepare_custom $(DESTDIR)$(profilesdir)/knoppix |
88 | install -m 0644 $(srcprofiles)/knoppix/custom-files/35locale $(DESTDIR)$(profilesdir)/knoppix/custom-files |
89 | install -m 0644 $(srcprofiles)/knoppix/custom-files/kdeglobals $(DESTDIR)$(profilesdir)/knoppix/custom-files |
90 | install -m 0644 $(srcprofiles)/knoppix/custom-files/kdesktoprc $(DESTDIR)$(profilesdir)/knoppix/custom-files |
91 | install -m 0644 $(srcprofiles)/knoppix/custom-files/kdmrc $(DESTDIR)$(profilesdir)/knoppix/custom-files |
92 | install -m 0644 $(srcprofiles)/knoppix/custom-files/kickerrc $(DESTDIR)$(profilesdir)/knoppix/custom-files |
93 | install -m 0644 $(srcprofiles)/knoppix/custom-files/kpersonalizerrc $(DESTDIR)$(profilesdir)/knoppix/custom-files |
94 | install -m 0644 $(srcprofiles)/knoppix/custom-files/ktiprc $(DESTDIR)$(profilesdir)/knoppix/custom-files |
95 | |
96 | |
97 | install: create-dirs install-files |
98 | |
99 | |
100 | .PHONY: all install |