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