]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Add man page for and installation of ippeveprinter commands.
[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 \
efb349bc 73 help/man-ippevepcl.html \
d46dbe1b 74 help/man-ippeveprinter.html \
aaf19ab0
MS
75 help/man-ipptool.html \
76 help/man-ipptoolfile.html \
4744bd90 77 help/man-lp.html \
ef416fc2 78 help/man-lpadmin.html \
79 help/man-lpc.html \
ef416fc2 80 help/man-lpinfo.html \
81 help/man-lpmove.html \
82 help/man-lpoptions.html \
ef416fc2 83 help/man-lpq.html \
84 help/man-lpr.html \
85 help/man-lprm.html \
86 help/man-lpstat.html \
bd7854cb 87 help/man-mime.convs.html \
88 help/man-mime.types.html \
178cb736 89 help/man-notifier.html \
28b9d139
MS
90 help/man-ppdc.html \
91 help/man-ppdhtml.html \
92 help/man-ppdi.html \
93 help/man-ppdmerge.html \
94 help/man-ppdpo.html \
da516501
MS
95 help/man-printers.conf.html \
96 help/man-subscriptions.conf.html \
ef416fc2 97 help/network.html \
4744bd90 98 help/options.html \
ef416fc2 99 help/overview.html \
8ca02f3c 100 help/policies.html \
28b9d139
MS
101 help/postscript-driver.html \
102 help/ppd-compiler.html \
e4572d57 103 help/raster-driver.html \
bdd6c45b 104 help/ref-ppdcfile.html \
4744bd90 105 help/security.html \
d2354e63 106 help/sharing.html \
1f6f3dbc 107 help/spec-banner.html \
b423cd4c 108 help/spec-command.html \
4744bd90 109 help/spec-design.html \
fa73b229 110 help/spec-ipp.html \
ef416fc2 111 help/spec-ppd.html \
4744bd90 112 help/spec-raster.html \
113 help/spec-stp.html \
5f1456af 114 help/translation.html
ef416fc2 115
116
117#
118# Make all documents...
119#
120
121all:
122
123
c9fc04c6
MS
124#
125# Make library targets...
126#
127
128libs:
129
130
5f64df29
MS
131#
132# Make unit tests...
133#
134
135unittests:
136
137
ef416fc2 138#
139# Remove all generated files...
140#
141
142clean:
143
144
757d2cad 145#
146# Dummy depend target...
147#
148
149depend:
150
151
ef416fc2 152#
50fe7201 153# Install all targets...
ef416fc2 154#
155
50fe7201
MS
156install: all install-data install-headers install-libs install-exec
157
158
159#
160# Install data files...
161#
162
c168a833 163install-data: $(INSTALL_LANGUAGES)
bd7854cb 164 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 165 for file in $(WEBPAGES); do \
166 $(INSTALL_MAN) $$file $(DOCDIR); \
167 done
bd7854cb 168 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 169 for file in $(HELPFILES); do \
170 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
171 done
d46dbe1b
MS
172 if test "x$(IPPFIND_MAN)" != x; then \
173 $(INSTALL_MAN) man-ippfind.html $(DOCDIR)/help; \
174 done
bd7854cb 175 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
f11a948a 176 for file in $(WEBIMAGES) $(HELPIMAGES); do \
ef416fc2 177 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
178 done
ed486911 179
180install-languages:
bd7854cb 181 for lang in $(LANGUAGES); do \
568fa3fa 182 if test -d $$lang; then \
c168a833 183 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
b226ab99
MS
184 $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \
185 $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \
c0e1af83 186 fi; \
757d2cad 187 done
188
0837b7e8
MS
189install-langbundle:
190
757d2cad 191
50fe7201
MS
192#
193# Install programs...
194#
195
196install-exec:
197
198
199#
200# Install headers...
201#
202
203install-headers:
204
205
206#
207# Install libraries...
208#
209
210install-libs:
211
212
757d2cad 213#
c168a833 214# Uninstall all documentation files...
757d2cad 215#
216
ed486911 217uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 218 for file in $(WEBPAGES); do \
219 $(RM) $(DOCDIR)/$$file; \
220 done
221 for file in $(HELPFILES); do \
d46dbe1b
MS
222 $(RM) $(DOCDIR)/help/$$file; \
223 done
224 if test "x$(IPPFIND_MAN)" != x; then \
225 $(RM) $(DOCDIR)/help/man-ippfind.html; \
757d2cad 226 done
2e4ff8af 227 for file in $(WEBIMAGES); do \
d46dbe1b 228 $(RM) $(DOCDIR)/images/$$file; \
757d2cad 229 done
ed486911 230 -$(RMDIR) $(DOCDIR)/images
231 -$(RMDIR) $(DOCDIR)/help
232 -$(RMDIR) $(DOCDIR)
233
234uninstall-languages:
757d2cad 235 -for lang in $(LANGUAGES); do \
236 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 237 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 238 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 239 done
ef416fc2 240
0837b7e8
MS
241install-langbundle:
242
ef416fc2 243
f11a948a
MS
244#
245# Install the docset bits locally...
246#
247
248docset:
249 cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help
250 cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation
251 cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images