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