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