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