|
980
by beaky
More work on the debian infrastructure |
1 |
#!/usr/bin/make -f
|
2 |
#
|
|
3 |
# Heavily customised build makefile for WACS Debian/Ubuntu packages
|
|
4 |
#
|
|
5 |
package = wacs |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
6 |
# what the permissions should be set to
|
7 |
DIRMODE=0770 |
|
8 |
EXECMODE=0750 |
|
9 |
FILEMODE=0660 |
|
10 |
DOCMODE=0640 |
|
11 |
STICKYDIR=2770 |
|
12 |
# locations of things
|
|
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
13 |
DEBDIR=`pwd`/install/debian |
|
994
by beaky
Many more changes to the rules file. |
14 |
EXECPREFIX=/usr |
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
15 |
BINDIR=/usr/bin |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
16 |
CGIDIR=/usr/lib/cgi-bin |
|
1258
by beaky
Lots of work on packaging - including setting up manpage installs |
17 |
MANDIR=/usr/share/man |
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
18 |
SYSCONFDIR=/etc |
19 |
LIBDIR=/usr/share/$(package) |
|
|
994
by beaky
Many more changes to the rules file. |
20 |
LOCALSTATEDIR=/var |
|
1009
by beaky
Revised recommended big icon size. |
21 |
PKGLIST=wacs wacs-core wacs-tools wacs-download wacs-samples \ |
|
1015
by beaky
Added the two new attributes and icon references. |
22 |
wacs-doc-pdf wacs-doc-html wacs-hostauth |
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
23 |
ARCHINDEP=wacs wacs-core wacs-tools wacs-download wacs-samples \ |
24 |
wacs-doc-pdf wacs-doc-html |
|
25 |
ARCHDEP=wacs-hostauth |
|
|
994
by beaky
Many more changes to the rules file. |
26 |
|
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
27 |
ARCH=`uname -m` |
28 |
DIST=`lsb_release -si | sed 's/\ /_/g'` |
|
29 |
REL=`lsb_release -sr` |
|
30 |
||
31 |
||
32 |
INSTDIR=$(DEBDIR)/$(package) |
|
33 |
INSTCORE=$(DEBDIR)/$(package)-core |
|
34 |
INSTTOOLS=$(DEBDIR)/$(package)-tools |
|
35 |
INSTDOWNLOAD=$(DEBDIR)/$(package)-download |
|
36 |
INSTSAMPLES=$(DEBDIR)/$(package)-samples |
|
37 |
INSTDOCPDF=$(DEBDIR)/$(package)-doc-pdf |
|
38 |
INSTDOCHTML=$(DEBDIR)/$(package)-doc-html |
|
39 |
INSTHOSTAUTH=$(DEBDIR)/$(package)-hostauth |
|
40 |
||
|
980
by beaky
More work on the debian infrastructure |
41 |
CC = gcc |
42 |
||
43 |
clean:
|
|
44 |
dh_testdir
|
|
|
1009
by beaky
Revised recommended big icon size. |
45 |
dh_testroot
|
|
981
by beaky
Added symlink and removed spaces from debian rules. |
46 |
rm -f build |
|
980
by beaky
More work on the debian infrastructure |
47 |
(cd security; make -f Makefile clean ) |
|
1009
by beaky
Revised recommended big icon size. |
48 |
dh_clean
|
|
980
by beaky
More work on the debian infrastructure |
49 |
|
|
1276
by beaky
Removing build from install ruleset. |
50 |
install: install-parts |
|
1009
by beaky
Revised recommended big icon size. |
51 |
dh_testdir
|
|
1010
by beaky
Another batch of changes based upon the Xfig package rules. |
52 |
dh_testroot
|
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
53 |
dh_clean -k |
54 |
dh_installdirs
|
|
|
1009
by beaky
Revised recommended big icon size. |
55 |
|
56 |
install-parts: $(PKGLIST) |
|
|
994
by beaky
Many more changes to the rules file. |
57 |
|
58 |
wacs:
|
|
|
1015
by beaky
Added the two new attributes and icon references. |
59 |
dh_installchangelogs -i -k ChangeLog |
60 |
dh_installdocs -i -k README RELEASENOTES TODO |
|
|
1009
by beaky
Revised recommended big icon size. |
61 |
@echo "Building the basic Wacs system install tree..." |
|
994
by beaky
Many more changes to the rules file. |
62 |
# top of the tree |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
63 |
install -m $(DIRMODE) -d $(INSTDIR)/$(LIBDIR) |
|
994
by beaky
Many more changes to the rules file. |
64 |
# basic files used by Wacs |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
65 |
install -m $(DOCMODE) install/README.$(DIST) $(INSTDIR)/$(LIBDIR)/README.$(DIST) |
66 |
install -m $(DOCMODE) install/README.database $(INSTDIR)/$(LIBDIR)/README.database |
|
67 |
install -m $(DOCMODE) install/README.faults $(INSTDIR)/$(LIBDIR)/README.faults |
|
|
994
by beaky
Many more changes to the rules file. |
68 |
# database creation files are part of the main package |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
69 |
install -m $(DIRMODE) -d $(INSTDIR)/$(LIBDIR)/creation |
70 |
install -m $(DIRMODE) -d $(INSTDIR)/$(LIBDIR)/creation/MySQL5/ |
|
|
1313
by beaky
Significant work on wacsschema - it now produces a list of the schemas it |
71 |
install -m $(DIRMODE) -d $(INSTDIR)/$(LIBDIR)/creation/Oracle10/ |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
72 |
install -m $(DOCMODE) creation/mysql_*.sql $(INSTDIR)/$(LIBDIR)/creation/MySQL5/ |
73 |
install -m $(DOCMODE) creation/create_mysql.sql $(INSTDIR)/$(LIBDIR)/creation/MySQL5/ |
|
|
1313
by beaky
Significant work on wacsschema - it now produces a list of the schemas it |
74 |
install -m $(DOCMODE) creation/ora_*.sql $(INSTDIR)/$(LIBDIR)/creation/Oracle10/ |
75 |
install -m $(DOCMODE) creation/create_oracle.sql $(INSTDIR)/$(LIBDIR)/creation/Oracle10/ |
|
|
1009
by beaky
Revised recommended big icon size. |
76 |
@echo "Basic Wacs system install tree built." |
|
994
by beaky
Many more changes to the rules file. |
77 |
|
78 |
wacs-core: |
|
|
1009
by beaky
Revised recommended big icon size. |
79 |
@echo "Building Wacs Core System install tree..." |
|
994
by beaky
Many more changes to the rules file. |
80 |
# Web document tree objects - icons, stylesheets, etc. |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
81 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html |
82 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/glyphs |
|
83 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/glyphs/controls |
|
84 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/glyphs/flags |
|
85 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/glyphs/frames |
|
86 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/styles |
|
87 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/addicons |
|
|
1564
by beaky
Relocated small model headshots from icons to modicons. |
88 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/modicons |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
89 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/bigicons |
90 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/bodyimage |
|
91 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/altimage |
|
92 |
install -m $(DIRMODE) -d $(INSTCORE)/$(LIBDIR)/html/images |
|
|
1261
by beaky
Some minor fixes to the debian build process. |
93 |
install -d $(INSTCORE)/$(BINDIR) |
94 |
install -d $(INSTCORE)/$(MANDIR)/man1 |
|
|
1028
by beaky
Completed app cloning code. |
95 |
# htmlbones content |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
96 |
install -m $(FILEMODE) htmlbones/glyphs/*.png $(INSTCORE)/$(LIBDIR)/html/glyphs |
97 |
install -m $(FILEMODE) htmlbones/glyphs/controls/*.png $(INSTCORE)/$(LIBDIR)/html/glyphs/controls/ |
|
98 |
install -m $(FILEMODE) htmlbones/glyphs/flags/*.jpg $(INSTCORE)/$(LIBDIR)/html/glyphs/flags/ |
|
99 |
install -m $(FILEMODE) htmlbones/glyphs/frames/*.png $(INSTCORE)/$(LIBDIR)/html/glyphs/frames/ |
|
100 |
install -m $(FILEMODE) htmlbones/styles/*.css $(INSTCORE)/$(LIBDIR)/html/styles/ |
|
101 |
install -m $(FILEMODE) htmlbones/styles/*.gif $(INSTCORE)/$(LIBDIR)/html/styles/ |
|
102 |
install -m $(FILEMODE) htmlbones/index.html-$(DIST) $(INSTCORE)/$(LIBDIR)/html/index.html |
|
103 |
install -m $(FILEMODE) htmlbones/csshorizontalmenu.js $(INSTCORE)/$(LIBDIR)/html/csshorizontalmenu.js |
|
104 |
install -m $(FILEMODE) htmlbones/images/*.png $(INSTCORE)/$(LIBDIR)/html/images |
|
105 |
install -m $(FILEMODE) htmlbones/images/*.jpg $(INSTCORE)/$(LIBDIR)/html/images |
|
|
994
by beaky
Many more changes to the rules file. |
106 |
# cache files |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
107 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache |
108 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/iconcache |
|
109 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/officons |
|
110 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/seticons |
|
111 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/vidicons |
|
112 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/dvdicons |
|
113 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/thumbs |
|
114 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/minithumbs |
|
115 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LIBDIR)/cache/scaled |
|
|
1021
by beaky
Much more body added including most of the docs tree (icons/images for HTML |
116 |
# download files |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
117 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LOCALSTATEDIR)/spool/$(package)/download |
118 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LOCALSTATEDIR)/spool/$(package)/archive |
|
|
994
by beaky
Many more changes to the rules file. |
119 |
# lease files |
|
1653
by beaky
Relocated lease files to /var/lib/wacs |
120 |
install -m $(STICKYDIR) -d $(INSTCORE)/$(LOCALSTATEDIR)/lib/$(package) |
|
994
by beaky
Many more changes to the rules file. |
121 |
# configuration files |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
122 |
install -m $(DIRMODE) -d $(INSTCORE)/$(SYSCONFDIR)/$(package).d/ |
123 |
install -m $(FILEMODE) conf/$(DIST)/wacs.cfg $(INSTCORE)/$(SYSCONFDIR)/$(package).d/ |
|
124 |
install -m $(FILEMODE) conf/$(DIST)/wacs.acl $(INSTCORE)/$(SYSCONFDIR)/$(package).d/ |
|
125 |
install -m $(FILEMODE) conf/$(DIST)/menu.cfg $(INSTCORE)/$(SYSCONFDIR)/$(package).d/ |
|
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
126 |
install -d $(INSTCORE)/$(SYSCONFDIR)/apache2/conf.d |
|
1038
by beaky
More work on postinst scripts. |
127 |
install -m 0664 conf/$(DIST)/$(package).conf $(INSTCORE)/$(SYSCONFDIR)/apache2/conf.d |
|
994
by beaky
Many more changes to the rules file. |
128 |
# perl modules |
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
129 |
install -d $(INSTCORE)/$(EXECPREFIX)/lib/perl5/ |
|
1287
by beaky
First set of changes to the more moderate plan B for wacs modules. |
130 |
install -d $(INSTCORE)/$(EXECPREFIX)/lib/perl5/Wacs |
131 |
install -m $(EXECMODE) modules/wacs.pm $(INSTCORE)/$(EXECPREFIX)/lib/perl5/Wacs.pm |
|
132 |
install -m $(EXECMODE) modules/wacsid.pm $(INSTCORE)/$(EXECPREFIX)/lib/perl5/Wacs/WacsId.pm |
|
133 |
install -m $(EXECMODE) modules/wacsui.pm $(INSTCORE)/$(EXECPREFIX)/lib/perl5/Wacs/WacsUI.pm |
|
134 |
install -m $(EXECMODE) modules/wacsstd.pm $(INSTCORE)/$(EXECPREFIX)/lib/perl5/Wacs/WacsStd.pm |
|
135 |
install -m $(EXECMODE) install/WacsInstUtil.pm $(INSTCORE)/$(EXECPREFIX)/lib/perl5/Wacs/WacsInstUtil.pm |
|
|
1021
by beaky
Much more body added including most of the docs tree (icons/images for HTML |
136 |
# script files |
137 |
# retrieval |
|
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
138 |
install -m $(DIRMODE) -d $(INSTCORE)/$(CGIDIR)/wacs |
139 |
install -m $(EXECMODE) index/wacs* $(INSTCORE)/$(CGIDIR)/wacs |
|
140 |
install -m $(EXECMODE) models/wacs* $(INSTCORE)/$(CGIDIR)/wacs |
|
141 |
install -m $(EXECMODE) presentation/wacs* $(INSTCORE)/$(CGIDIR)/wacs |
|
142 |
install -m $(EXECMODE) retrieval/wacs* $(INSTCORE)/$(CGIDIR)/wacs |
|
143 |
install -m $(EXECMODE) search/wacs* $(INSTCORE)/$(CGIDIR)/wacs |
|
144 |
install -m $(EXECMODE) tag/wacs* $(INSTCORE)/$(CGIDIR)/wacs |
|
|
1021
by beaky
Much more body added including most of the docs tree (icons/images for HTML |
145 |
# explicit list: login, logout, pref |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
146 |
install -m $(EXECMODE) security/wacslogin $(INSTCORE)/$(CGIDIR)/wacs |
147 |
install -m $(EXECMODE) security/wacslogout $(INSTCORE)/$(CGIDIR)/wacs |
|
148 |
install -m $(EXECMODE) security/wacspref $(INSTCORE)/$(CGIDIR)/wacs |
|
|
1258
by beaky
Lots of work on packaging - including setting up manpage installs |
149 |
# command line core tools - the viewers |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
150 |
install -d $(INSTCORE)/$(BINDIR) |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
151 |
install -m $(EXECMODE) utils/rungq $(INSTCORE)/$(BINDIR) |
152 |
install -m $(EXECMODE) utils/runmp $(INSTCORE)/$(BINDIR) |
|
|
1258
by beaky
Lots of work on packaging - including setting up manpage installs |
153 |
# man pages |
154 |
install -d $(INSTDIR)/$(MANDIR)/man1 |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
155 |
install -m $(DOCMODE) docs/man/rungq.1 $(INSTCORE)/$(MANDIR)/man1 |
156 |
install -m $(DOCMODE) docs/man/runmp.1 $(INSTCORE)/$(MANDIR)/man1 |
|
|
1009
by beaky
Revised recommended big icon size. |
157 |
@echo "Wacs Core install tree built." |
|
980
by beaky
More work on the debian infrastructure |
158 |
|
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
159 |
wacs-tools: |
|
1009
by beaky
Revised recommended big icon size. |
160 |
@echo "Building Wacs Tools install tree...." |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
161 |
install -m $(DIRMODE) -d $(INSTTOOLS)/$(LIBDIR) |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
162 |
install -m $(DIRMODE) -d $(INSTTOOLS)/$(CGIDIR)/wacs |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
163 |
install -m $(DIRMODE) -d $(INSTTOOLS)/$(LIBDIR)/utils |
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
164 |
install -d $(INSTTOOLS)/$(BINDIR) |
165 |
# from manage, tools, migrate and populate |
|
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
166 |
install -m $(EXECMODE) manage/wacs* $(INSTTOOLS)/$(CGIDIR)/wacs |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
167 |
install -m $(EXECMODE) tools/* $(INSTTOOLS)/$(BINDIR)/ |
168 |
install -m $(EXECMODE) migrate/wacs* $(INSTTOOLS)/$(BINDIR)/ |
|
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
169 |
install -m $(EXECMODE) install/wacssetup $(INSTTOOLS)/$(CGIDIR)/wacs |
170 |
install -m $(EXECMODE) install/wacsschema $(INSTTOOLS)/$(CGIDIR)/wacs |
|
|
1307
by beaky
Changes to reflect loss of keywordpop, etc and replacement by wacspop |
171 |
install -m $(EXECMODE) populate/wacspop $(INSTTOOLS)/$(LIBDIR)/utils/ |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
172 |
install -m $(EXECMODE) install/upgrade $(INSTTOOLS)/$(LIBDIR)/utils/ |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
173 |
install -m $(EXECMODE) install/wacsschema $(INSTTOOLS)/$(LIBDIR)/utils/ |
|
1258
by beaky
Lots of work on packaging - including setting up manpage installs |
174 |
# man pages for the CLI-based tools |
175 |
install -d $(INSTTOOLS)/$(MANDIR)/man1 |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
176 |
install -m $(DOCMODE) docs/man/wacs*.1 $(INSTTOOLS)/$(MANDIR)/man1 |
|
1009
by beaky
Revised recommended big icon size. |
177 |
@echo "Wacs Tools install tree built." |
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
178 |
|
179 |
wacs-download: |
|
|
1009
by beaky
Revised recommended big icon size. |
180 |
@echo "Building Wacs Download install tree...." |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
181 |
install -m $(DIRMODE) -d $(INSTDOWNLOAD)/$(CGIDIR) |
|
1364
by beaky
More fixes to the debian build rules. |
182 |
install -m $(DIRMODE) -d $(INSTDOWNLOAD)/$(CGIDIR)/wacs |
|
1357
by beaky
Changes due to new Ubuntu apache default config not allowing symlinks in cgi-bin |
183 |
install -m $(DIRMODE) -d $(INSTDOWNLOAD)/$(LIBDIR)/wacs |
|
1007
by beaky
Creating the directory as part of the download package. |
184 |
install -d $(INSTDOWNLOAD)/$(BINDIR)/ |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
185 |
install -m $(EXECMODE) download/getarc $(INSTDOWNLOAD)/$(BINDIR)/ |
186 |
install -m $(EXECMODE) download/refresh $(INSTDOWNLOAD)/$(BINDIR)/ |
|
187 |
install -m $(EXECMODE) download/chkmodel $(INSTDOWNLOAD)/$(BINDIR)/ |
|
|
1363
by beaky
More debian installer file fixes. |
188 |
install -m $(EXECMODE) download/wacsdnlnext $(INSTDOWNLOAD)/$(CGIDIR)/wacs/ |
189 |
install -m $(EXECMODE) download/wacsdnlframe $(INSTDOWNLOAD)/$(CGIDIR)/wacs/ |
|
190 |
install -m $(EXECMODE) download/wacsdnlcomp $(INSTDOWNLOAD)/$(CGIDIR)/wacs/ |
|
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
191 |
# download files |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
192 |
install -m $(STICKYDIR) -d $(INSTDOWNLOAD)/$(LOCALSTATEDIR)/spool/$(package)/download |
193 |
install -m $(STICKYDIR) -d $(INSTDOWNLOAD)/$(LOCALSTATEDIR)/spool/$(package)/archive |
|
|
1009
by beaky
Revised recommended big icon size. |
194 |
@echo "Wacs Download install tree built." |
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
195 |
|
196 |
wacs-samples: |
|
|
1009
by beaky
Revised recommended big icon size. |
197 |
@echo "Building Wacs Samples install tree...." |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
198 |
install -m $(DIRMODE) -d $(INSTSAMPLES)/$(LIBDIR)/samples |
199 |
install -m $(DIRMODE) -d $(INSTSAMPLES)/$(LIBDIR)/samples/database/ |
|
|
1037
by beaky
Working on trying to keep the permissions set right. |
200 |
install -m 0770 -d $(INSTSAMPLES)/$(LIBDIR)/samples/models/ |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
201 |
install -m $(DIRMODE) -d $(INSTSAMPLES)/$(LIBDIR)/samples/perl/ |
202 |
install -m $(DIRMODE) -d $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard/ |
|
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
203 |
# samples stuff |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
204 |
install -m $(DOCMODE) install/README.samples $(INSTSAMPLES)/$(LIBDIR)/samples/README.samples |
205 |
install -m $(FILEMODE) populate/*.xml $(INSTSAMPLES)/$(LIBDIR)/samples/database |
|
206 |
install -m $(FILEMODE) samples/*.xml $(INSTSAMPLES)/$(LIBDIR)/samples/models |
|
207 |
install -m $(EXECMODE) samples/perl/* $(INSTSAMPLES)/$(LIBDIR)/samples/perl |
|
208 |
install -m $(FILEMODE) junkyard/README $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
209 |
install -m $(FILEMODE) junkyard/WHATSHERE $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
210 |
install -m $(EXECMODE) junkyard/spinner $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
211 |
install -m $(EXECMODE) junkyard/remcopy $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
212 |
install -m $(EXECMODE) junkyard/conngraph $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
213 |
install -m $(EXECMODE) junkyard/compare $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
214 |
install -m $(EXECMODE) junkyard/fixdnl $(INSTSAMPLES)/$(LIBDIR)/samples/junkyard |
|
|
1009
by beaky
Revised recommended big icon size. |
215 |
@echo "Wacs Samples install tree built." |
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
216 |
|
217 |
wacs-doc-pdf: |
|
|
1009
by beaky
Revised recommended big icon size. |
218 |
@echo "Building Wacs Docs PDF install tree...." |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
219 |
install -m $(DIRMODE) -d $(INSTDOCPDF)/$(LIBDIR)/doc |
220 |
install -m $(DIRMODE) -d $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
221 |
install -m $(FILEMODE) docs/docs-index.html $(INSTDOCPDF)/$(LIBDIR)/doc/index-pdf.html |
|
222 |
install -m $(FILEMODE) docs/userguide/pdf/userguide.pdf $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
223 |
install -m $(FILEMODE) docs/programming/pdf/programming.pdf $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
224 |
install -m $(FILEMODE) docs/configuration/pdf/configuration.pdf $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
225 |
install -m $(FILEMODE) docs/installation/pdf/installation.pdf $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
226 |
install -m $(FILEMODE) docs/administration/pdf/administration.pdf $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
227 |
install -m $(FILEMODE) docs/manpages/pdf/manpages.pdf $(INSTDOCPDF)/$(LIBDIR)/doc/pdf |
|
|
1009
by beaky
Revised recommended big icon size. |
228 |
@echo "Wacs Docs PDF install tree built." |
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
229 |
|
230 |
wacs-doc-html: |
|
|
1009
by beaky
Revised recommended big icon size. |
231 |
@echo "Building Wacs Docs HTML install tree...." |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
232 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc |
233 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html |
|
234 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide |
|
235 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/images |
|
236 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/icons |
|
237 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/installation |
|
238 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/installation/images |
|
239 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/configuration |
|
240 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/configuration/images |
|
241 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming |
|
242 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming/images |
|
243 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming/icons |
|
244 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration |
|
245 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/images |
|
246 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/icons |
|
247 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/manpages |
|
248 |
install -m $(DIRMODE) -d $(INSTDOCHTML)/$(LIBDIR)/doc/html/manpages/images |
|
|
1021
by beaky
Much more body added including most of the docs tree (icons/images for HTML |
249 |
# now for the documents themselves |
250 |
# single file HTML |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
251 |
install -m $(DOCMODE) docs/userguide/htmls/userguide.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/ |
252 |
install -m $(DOCMODE) docs/installation/htmls/installation.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/installation/ |
|
253 |
install -m $(DOCMODE) docs/configuration/htmls/configuration.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/configuration/ |
|
254 |
install -m $(DOCMODE) docs/programming/htmls/programming.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming/ |
|
255 |
install -m $(DOCMODE) docs/administration/htmls/administration.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/ |
|
256 |
install -m $(DOCMODE) docs/manpages/htmls/manpages.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/manpages/ |
|
257 |
install -m $(FILEMODE) docs/docs-index.html $(INSTDOCHTML)/$(LIBDIR)/doc/index.html |
|
|
1021
by beaky
Much more body added including most of the docs tree (icons/images for HTML |
258 |
# multifile HTML versions |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
259 |
install -m $(DOCMODE) docs/userguide/htmlm/*.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide |
260 |
install -m $(DOCMODE) docs/installation/htmlm/*.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/installation |
|
261 |
install -m $(DOCMODE) docs/configuration/htmlm/*.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/configuration |
|
262 |
install -m $(DOCMODE) docs/programming/htmlm/*.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming |
|
263 |
install -m $(DOCMODE) docs/administration/htmlm/*.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration |
|
264 |
install -m $(DOCMODE) docs/manpages/htmlm/*.html $(INSTDOCHTML)/$(LIBDIR)/doc/html/manpages |
|
|
1063
by beaky
Various bug fixes to the debian rules and postinst script |
265 |
# related image files |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
266 |
install -m $(DOCMODE) docs/userguide/images/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/images |
267 |
install -m $(DOCMODE) docs/userguide/images/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/images |
|
268 |
install -m $(DOCMODE) docs/userguide/icons/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/icons |
|
269 |
install -m $(DOCMODE) docs/userguide/icons/*.gif $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/icons |
|
270 |
install -m $(DOCMODE) docs/userguide/icons/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/userguide/icons |
|
271 |
install -m $(DOCMODE) docs/programming/images/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming/images |
|
272 |
install -m $(DOCMODE) docs/programming/images/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming/images |
|
273 |
install -m $(DOCMODE) docs/programming/icons/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/programming/icons |
|
274 |
install -m $(DOCMODE) docs/administration/images/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/images |
|
275 |
install -m $(DOCMODE) docs/administration/images/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/images |
|
276 |
install -m $(DOCMODE) docs/administration/icons/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/icons |
|
277 |
install -m $(DOCMODE) docs/installation/images/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/installation/images |
|
278 |
install -m $(DOCMODE) docs/installation/images/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/installation/images |
|
279 |
install -m $(DOCMODE) docs/configuration/images/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/configuration/images |
|
280 |
install -m $(DOCMODE) docs/configuration/images/*.png $(INSTDOCHTML)/$(LIBDIR)/doc/html/configuration/images |
|
281 |
install -m $(DOCMODE) docs/manpages/images/*.jpg $(INSTDOCHTML)/$(LIBDIR)/doc/html/administration/images |
|
|
1009
by beaky
Revised recommended big icon size. |
282 |
@echo "Wacs Docs HTML install tree built." |
283 |
||
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
284 |
# This is using -i because of multiple targets
|
285 |
binary-indep: clone-apps $(ARCHINDEP) |
|
286 |
dh_testdir -i |
|
287 |
dh_testroot -i |
|
|
1020
by beaky
One -a option in the wrong place. |
288 |
dh_compress -i -X.pdf |
|
1037
by beaky
Working on trying to keep the permissions set right. |
289 |
# DO NOT USE FIXPERMS! Don't even think about it - see README.Debian |
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
290 |
dh_perl -i |
291 |
dh_installdeb -i |
|
292 |
dh_gencontrol -i |
|
293 |
dh_md5sums -i |
|
294 |
dh_builddeb -i |
|
|
1002
by beaky
More work on the rules - should now be at least one item in each package. |
295 |
|
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
296 |
# This is using -a because of a single target (change if there's ever
|
297 |
# more than one binary target)
|
|
298 |
binary-arch: $(ARCHDEP) |
|
|
1010
by beaky
Another batch of changes based upon the Xfig package rules. |
299 |
dh_testdir -a |
300 |
dh_testroot -a |
|
|
1016
by beaky
Trying something different. |
301 |
dh_link -a |
302 |
dh_compress -a -X.pdf |
|
|
1037
by beaky
Working on trying to keep the permissions set right. |
303 |
# DO NOT USE FIXPERMS! Don't even think about it - see README.Debian |
|
1017
by beaky
Trying again. |
304 |
dh_installdeb -a |
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
305 |
dh_shlibdeps -a |
|
1017
by beaky
Trying again. |
306 |
dh_gencontrol -a |
307 |
dh_md5sums -a |
|
|
1019
by beaky
Another attempt - this time after a pretty big re-write. |
308 |
dh_builddeb -a |
|
980
by beaky
More work on the debian infrastructure |
309 |
|
|
1015
by beaky
Added the two new attributes and icon references. |
310 |
clone-apps: |
311 |
@echo "Cloning architecture independant apps..." |
|
|
1028
by beaky
Completed app cloning code. |
312 |
# variants of model page |
|
1027
by beaky
Changed it to make clones within the source tree - install rules will then |
313 |
sed 's/thumbsmode=0/thumbsmode=1/' < models/wacsmodelpage > models/wacsmpthumbs |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
314 |
chmod $(DIRMODE) models/wacsmpthumbs |
|
1027
by beaky
Changed it to make clones within the source tree - install rules will then |
315 |
sed 's/thumbsmode=0/thumbsmode=2/' < models/wacsmodelpage > models/wacsmpmini |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
316 |
chmod $(DIRMODE) models/wacsmpmini |
|
1192
by beaky
Changes related to the creation of wacsmpfull. |
317 |
sed 's/thumbsmode=0/thumbsmode=3/' < models/wacsmodelpage > models/wacsmpfull |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
318 |
chmod $(DIRMODE) models/wacsmpfull |
|
1028
by beaky
Completed app cloning code. |
319 |
# variants of wacsimgcats |
320 |
sed 's/opmode=0/opmode=1/' < index/wacsimgcats > index/wacsvidcats |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
321 |
chmod $(DIRMODE) index/wacsvidcats |
|
1028
by beaky
Completed app cloning code. |
322 |
sed 's/opmode=0/opmode=2/' < index/wacsimgcats > index/wacsphotcats |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
323 |
chmod $(DIRMODE) index/wacsphotcats |
|
1028
by beaky
Completed app cloning code. |
324 |
# variant of wacsimglist |
325 |
sed 's/vidmode=0/vidmode=1/' < index/wacsimglist > index/wacsvidlist |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
326 |
chmod $(DIRMODE) index/wacsvidlist |
|
1028
by beaky
Completed app cloning code. |
327 |
# variant of wacsnewsets |
328 |
sed 's/vidmode=0/vidmode=1/' < presentation/wacsnewsets > presentation/wacsnewvideo |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
329 |
chmod $(DIRMODE) presentation/wacsnewvideo |
|
1028
by beaky
Completed app cloning code. |
330 |
# variant of wacsimgselect |
331 |
sed 's/opmode=0/opmode=1/' < search/wacsimgselect > search/wacsvidselect |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
332 |
chmod $(DIRMODE) search/wacsvidselect |
|
1028
by beaky
Completed app cloning code. |
333 |
# variant of wacsshow |
334 |
sed 's/vidmode=0/vidmode=1/' < presentation/wacsshow > presentation/wacsvidshow |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
335 |
chmod $(DIRMODE) presentation/wacsvidshow |
|
1201
by beaky
Lots of work on wacsindex (wacspage) and wacsframe to make them compatible |
336 |
# variant of wacsindex |
337 |
sed 's/pagemode=0/pagemode=1/' < retrieval/wacsindex > retrieval/wacspage |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
338 |
chmod $(DIRMODE) retrieval/wacspage |
|
1028
by beaky
Completed app cloning code. |
339 |
# variant of rungq |
340 |
sed 's/vidmode=0/vidmode=1/' < utils/rungq > utils/runmp |
|
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
341 |
chmod $(DIRMODE) utils/runmp |
|
1015
by beaky
Added the two new attributes and icon references. |
342 |
@echo "App clones created." |
343 |
||
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
344 |
wacs-hostauth: |
|
1009
by beaky
Revised recommended big icon size. |
345 |
@echo "Compiling hostauth tools for ${ARCH} ${DIST}..." |
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
346 |
(cd security; make -f Makefile all ) |
|
991
by beaky
Fixed missing quote. |
347 |
@echo "Installing necessary files for hostauth..." |
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
348 |
install -d $(INSTHOSTAUTH)/$(BINDIR) |
|
992
by beaky
Ooops - left out the security directory bit. |
349 |
install -m 4751 security/pam_auth.${ARCH}-${DIST}${REL} $(INSTHOSTAUTH)/$(BINDIR)/pam_auth |
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
350 |
install -d $(INSTHOSTAUTH)/$(LIBDIR)/ |
|
1275
by beaky
Changes to the debian build control files to make insecure builds possible. |
351 |
install -m $(DOCMODE) install/README.hostauth $(INSTHOSTAUTH)/$(LIBDIR)/ |
|
990
by beaky
Fixed tabs versus spaces problem. |
352 |
install -d $(INSTHOSTAUTH)/$(SYSCONFDIR)/pam.d |
353 |
install -m 0644 security/wacs.pam-Ubuntu $(INSTHOSTAUTH)/$(SYSCONFDIR)/pam.d/wacs |
|
|
1009
by beaky
Revised recommended big icon size. |
354 |
@echo "Hostauth work completed for ${ARCH} ${DIST}." |
|
989
by beaky
More work on the Ubuntu/Debian package conf stuff. |
355 |
|
|
980
by beaky
More work on the debian infrastructure |
356 |
binary: binary-indep binary-arch |
|
1012
by beaky
More work on the debian rules file. |
357 |
.PHONY: build clean build-indep build-arch binary install |