]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
More documentation install cleanup.
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
f2d18633 2# "$Id$"
ef416fc2 3#
969af935 4# Documentation makefile for CUPS.
ef416fc2 5#
969af935
MS
6# Copyright 2007-2014 by Apple Inc.
7# Copyright 1997-2007 by Easy Software Products.
ef416fc2 8#
969af935
MS
9# These coded instructions, statements, and computer programs are the
10# property of Apple Inc. and are protected by Federal copyright
11# law. Distribution and use rights are outlined in the file "LICENSE.txt"
12# which should have been included with this file. If this file is
13# file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 14#
15
16include ../Makedefs
17
18#
19# Document files...
20#
21
4744bd90 22WEBPAGES = \
dfc45c1b 23 apple-touch-icon.png \
4744bd90 24 cups.css \
25 cups-printable.css \
4744bd90 26 index.html \
27 robots.txt
bd7854cb 28WEBIMAGES = \
4b3f67ff 29 images/color-wheel.png \
2e4ff8af 30 images/cups.png \
2e4ff8af 31 images/cups-icon.png \
7cf5915e 32 images/generic.png \
2e4ff8af 33 images/left.gif \
2e4ff8af
MS
34 images/right.gif \
35 images/sel.gif \
2e4ff8af 36 images/unsel.gif \
58dc1933 37 images/wait.gif
f11a948a 38HELPIMAGES = \
393ac6ab 39 images/cups-block-diagram.png \
f11a948a
MS
40 images/cups-command-chain.png \
41 images/cups-postscript-chain.png \
42 images/cups-raster-chain.png \
43 images/raster.png \
0268488e
MS
44 images/raster-organization.png \
45 images/sample-image.png \
f11a948a 46 images/smiley.jpg
ef416fc2 47HELPFILES = \
09a101d6 48 help/accounting.html \
ef416fc2 49 help/api-array.html \
f11a948a 50 help/api-cgi.html \
ef416fc2 51 help/api-cups.html \
f11a948a 52 help/api-driver.html \
ef416fc2 53 help/api-filedir.html \
54 help/api-filter.html \
55 help/api-httpipp.html \
f11a948a 56 help/api-mime.html \
5a738aea 57 help/api-overview.html \
ef416fc2 58 help/api-ppd.html \
f11a948a 59 help/api-ppdc.html \
b423cd4c 60 help/api-raster.html \
4744bd90 61 help/cgi.html \
62 help/glossary.html \
355e94dc 63 help/kerberos.html \
4744bd90 64 help/license.html \
ef416fc2 65 help/man-backend.html \
bd7854cb 66 help/man-cancel.html \
da516501 67 help/man-classes.conf.html \
7131e285 68 help/man-client.conf.html \
969af935 69 help/man-cups.html \
ef416fc2 70 help/man-cups-config.html \
da516501 71 help/man-cups-files.conf.html \
ef416fc2 72 help/man-cups-lpd.html \
f3c17241 73 help/man-cups-snmp.html \
969af935 74 help/man-cupsaccept.html \
4744bd90 75 help/man-cupsaddsmb.html \
da516501 76 help/man-cupsd.conf.html \
4744bd90 77 help/man-cupsd.html \
7131e285 78 help/man-cupsd-helper.html \
4744bd90 79 help/man-cupsenable.html \
80ca4592 80 help/man-cupstestdsc.html \
ef416fc2 81 help/man-cupstestppd.html \
82 help/man-filter.html \
aaf19ab0
MS
83 help/man-ipptool.html \
84 help/man-ipptoolfile.html \
4744bd90 85 help/man-lp.html \
ef416fc2 86 help/man-lpadmin.html \
87 help/man-lpc.html \
ef416fc2 88 help/man-lpinfo.html \
89 help/man-lpmove.html \
90 help/man-lpoptions.html \
ef416fc2 91 help/man-lpq.html \
92 help/man-lpr.html \
93 help/man-lprm.html \
94 help/man-lpstat.html \
bd7854cb 95 help/man-mime.convs.html \
96 help/man-mime.types.html \
178cb736 97 help/man-notifier.html \
28b9d139
MS
98 help/man-ppdc.html \
99 help/man-ppdhtml.html \
100 help/man-ppdi.html \
101 help/man-ppdmerge.html \
102 help/man-ppdpo.html \
da516501
MS
103 help/man-printers.conf.html \
104 help/man-subscriptions.conf.html \
ef416fc2 105 help/network.html \
4744bd90 106 help/options.html \
ef416fc2 107 help/overview.html \
8ca02f3c 108 help/policies.html \
28b9d139
MS
109 help/postscript-driver.html \
110 help/ppd-compiler.html \
e4572d57 111 help/raster-driver.html \
4744bd90 112 help/ref-access_log.html \
4744bd90 113 help/ref-error_log.html \
8ca02f3c 114 help/ref-mailto-conf.html \
4744bd90 115 help/ref-page_log.html \
bdd6c45b 116 help/ref-ppdcfile.html \
89d46774 117 help/ref-snmp-conf.html \
4744bd90 118 help/security.html \
d2354e63 119 help/sharing.html \
1f6f3dbc 120 help/spec-banner.html \
4744bd90 121 help/spec-cmp.html \
b423cd4c 122 help/spec-command.html \
4744bd90 123 help/spec-design.html \
fa73b229 124 help/spec-ipp.html \
f11a948a 125 help/spec-pdf.html \
f7deaa1a 126 help/spec-postscript.html \
ef416fc2 127 help/spec-ppd.html \
4744bd90 128 help/spec-raster.html \
129 help/spec-stp.html \
4744bd90 130 help/translation.html \
ef416fc2 131 help/whatsnew.html
132
133
134#
135# Make all documents...
136#
137
138all:
139
140
c9fc04c6
MS
141#
142# Make library targets...
143#
144
145libs:
146
147
5f64df29
MS
148#
149# Make unit tests...
150#
151
152unittests:
153
154
ef416fc2 155#
156# Remove all generated files...
157#
158
159clean:
160
161
757d2cad 162#
163# Dummy depend target...
164#
165
166depend:
167
168
ef416fc2 169#
50fe7201 170# Install all targets...
ef416fc2 171#
172
50fe7201
MS
173install: all install-data install-headers install-libs install-exec
174
175
176#
177# Install data files...
178#
179
c168a833 180install-data: $(INSTALL_LANGUAGES)
bd7854cb 181 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 182 for file in $(WEBPAGES); do \
183 $(INSTALL_MAN) $$file $(DOCDIR); \
184 done
bd7854cb 185 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 186 for file in $(HELPFILES); do \
187 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
188 done
bd7854cb 189 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
f11a948a 190 for file in $(WEBIMAGES) $(HELPIMAGES); do \
ef416fc2 191 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
192 done
ed486911 193
194install-languages:
bd7854cb 195 for lang in $(LANGUAGES); do \
568fa3fa 196 if test -d $$lang; then \
c168a833 197 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
b226ab99
MS
198 $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \
199 $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \
c0e1af83 200 fi; \
757d2cad 201 done
202
0837b7e8
MS
203install-langbundle:
204
757d2cad 205
50fe7201
MS
206#
207# Install programs...
208#
209
210install-exec:
211
212
213#
214# Install headers...
215#
216
217install-headers:
218
219
220#
221# Install libraries...
222#
223
224install-libs:
225
226
757d2cad 227#
c168a833 228# Uninstall all documentation files...
757d2cad 229#
230
ed486911 231uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 232 for file in $(WEBPAGES); do \
233 $(RM) $(DOCDIR)/$$file; \
234 done
235 for file in $(HELPFILES); do \
50fe7201 236 $(RM) $(DOCDIR)/$$file; \
757d2cad 237 done
2e4ff8af 238 for file in $(WEBIMAGES); do \
50fe7201 239 $(RM) $(DOCDIR)/$$file; \
757d2cad 240 done
ed486911 241 -$(RMDIR) $(DOCDIR)/images
242 -$(RMDIR) $(DOCDIR)/help
243 -$(RMDIR) $(DOCDIR)
244
245uninstall-languages:
757d2cad 246 -for lang in $(LANGUAGES); do \
247 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 248 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 249 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 250 done
ef416fc2 251
0837b7e8
MS
252install-langbundle:
253
ef416fc2 254
f11a948a
MS
255#
256# Install the docset bits locally...
257#
258
259docset:
260 cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help
261 cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation
262 cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images
263
264
ef416fc2 265#
266# End of Makefile.
267#