]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Add firewall documentation (Issue #5192)
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
969af935 2# Documentation makefile for CUPS.
ef416fc2 3#
f05177e2 4# Copyright 2007-2017 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 \
80ca4592 71 help/man-cupstestdsc.html \
ef416fc2 72 help/man-cupstestppd.html \
73 help/man-filter.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 \
f11a948a 110 help/spec-pdf.html \
f7deaa1a 111 help/spec-postscript.html \
ef416fc2 112 help/spec-ppd.html \
4744bd90 113 help/spec-raster.html \
114 help/spec-stp.html \
5f1456af 115 help/translation.html
ef416fc2 116
117
118#
119# Make all documents...
120#
121
122all:
123
124
c9fc04c6
MS
125#
126# Make library targets...
127#
128
129libs:
130
131
5f64df29
MS
132#
133# Make unit tests...
134#
135
136unittests:
137
138
ef416fc2 139#
140# Remove all generated files...
141#
142
143clean:
144
145
757d2cad 146#
147# Dummy depend target...
148#
149
150depend:
151
152
ef416fc2 153#
50fe7201 154# Install all targets...
ef416fc2 155#
156
50fe7201
MS
157install: all install-data install-headers install-libs install-exec
158
159
160#
161# Install data files...
162#
163
c168a833 164install-data: $(INSTALL_LANGUAGES)
bd7854cb 165 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 166 for file in $(WEBPAGES); do \
167 $(INSTALL_MAN) $$file $(DOCDIR); \
168 done
bd7854cb 169 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 170 for file in $(HELPFILES); do \
171 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
172 done
bd7854cb 173 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
f11a948a 174 for file in $(WEBIMAGES) $(HELPIMAGES); do \
ef416fc2 175 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
176 done
ed486911 177
178install-languages:
bd7854cb 179 for lang in $(LANGUAGES); do \
568fa3fa 180 if test -d $$lang; then \
c168a833 181 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
b226ab99
MS
182 $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \
183 $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \
c0e1af83 184 fi; \
757d2cad 185 done
186
0837b7e8
MS
187install-langbundle:
188
757d2cad 189
50fe7201
MS
190#
191# Install programs...
192#
193
194install-exec:
195
196
197#
198# Install headers...
199#
200
201install-headers:
202
203
204#
205# Install libraries...
206#
207
208install-libs:
209
210
757d2cad 211#
c168a833 212# Uninstall all documentation files...
757d2cad 213#
214
ed486911 215uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 216 for file in $(WEBPAGES); do \
217 $(RM) $(DOCDIR)/$$file; \
218 done
219 for file in $(HELPFILES); do \
50fe7201 220 $(RM) $(DOCDIR)/$$file; \
757d2cad 221 done
2e4ff8af 222 for file in $(WEBIMAGES); do \
50fe7201 223 $(RM) $(DOCDIR)/$$file; \
757d2cad 224 done
ed486911 225 -$(RMDIR) $(DOCDIR)/images
226 -$(RMDIR) $(DOCDIR)/help
227 -$(RMDIR) $(DOCDIR)
228
229uninstall-languages:
757d2cad 230 -for lang in $(LANGUAGES); do \
231 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 232 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 233 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 234 done
ef416fc2 235
0837b7e8
MS
236install-langbundle:
237
ef416fc2 238
f11a948a
MS
239#
240# Install the docset bits locally...
241#
242
243docset:
244 cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help
245 cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation
246 cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images