]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Update svn:keyword properties.
[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 = \
23 cups.css \
24 cups-printable.css \
4744bd90 25 index.html \
26 robots.txt
bd7854cb 27WEBIMAGES = \
4b3f67ff 28 images/color-wheel.png \
2e4ff8af 29 images/cups.png \
2e4ff8af 30 images/cups-icon.png \
7cf5915e 31 images/generic.png \
2e4ff8af 32 images/left.gif \
2e4ff8af
MS
33 images/right.gif \
34 images/sel.gif \
2e4ff8af 35 images/unsel.gif \
58dc1933 36 images/wait.gif
f11a948a 37HELPIMAGES = \
393ac6ab 38 images/cups-block-diagram.png \
f11a948a
MS
39 images/cups-command-chain.png \
40 images/cups-postscript-chain.png \
41 images/cups-raster-chain.png \
42 images/raster.png \
0268488e
MS
43 images/raster-organization.png \
44 images/sample-image.png \
f11a948a 45 images/smiley.jpg
ef416fc2 46HELPFILES = \
09a101d6 47 help/accounting.html \
ef416fc2 48 help/api-array.html \
f11a948a 49 help/api-cgi.html \
ef416fc2 50 help/api-cups.html \
f11a948a 51 help/api-driver.html \
ef416fc2 52 help/api-filedir.html \
53 help/api-filter.html \
54 help/api-httpipp.html \
f11a948a 55 help/api-mime.html \
5a738aea 56 help/api-overview.html \
ef416fc2 57 help/api-ppd.html \
f11a948a 58 help/api-ppdc.html \
b423cd4c 59 help/api-raster.html \
4744bd90 60 help/cgi.html \
61 help/glossary.html \
355e94dc 62 help/kerberos.html \
4744bd90 63 help/license.html \
49d87452 64 help/man-cupsaccept.html \
ef416fc2 65 help/man-backend.html \
bd7854cb 66 help/man-cancel.html \
ef416fc2 67 help/man-cups-config.html \
ef416fc2 68 help/man-cups-lpd.html \
f3c17241 69 help/man-cups-snmp.html \
4744bd90 70 help/man-cupsaddsmb.html \
4744bd90 71 help/man-cupsd.html \
72 help/man-cupsenable.html \
80ca4592 73 help/man-cupstestdsc.html \
ef416fc2 74 help/man-cupstestppd.html \
75 help/man-filter.html \
aaf19ab0
MS
76 help/man-ipptool.html \
77 help/man-ipptoolfile.html \
4744bd90 78 help/man-lp.html \
ef416fc2 79 help/man-lpadmin.html \
80 help/man-lpc.html \
ef416fc2 81 help/man-lpinfo.html \
82 help/man-lpmove.html \
83 help/man-lpoptions.html \
84 help/man-lppasswd.html \
85 help/man-lpq.html \
86 help/man-lpr.html \
87 help/man-lprm.html \
88 help/man-lpstat.html \
bd7854cb 89 help/man-mime.convs.html \
90 help/man-mime.types.html \
178cb736 91 help/man-notifier.html \
28b9d139
MS
92 help/man-ppdc.html \
93 help/man-ppdhtml.html \
94 help/man-ppdi.html \
95 help/man-ppdmerge.html \
96 help/man-ppdpo.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 \
4744bd90 104 help/ref-access_log.html \
105 help/ref-classes-conf.html \
106 help/ref-client-conf.html \
107 help/ref-cupsd-conf.html \
c1420c87 108 help/ref-cups-files-conf.html \
4744bd90 109 help/ref-error_log.html \
8ca02f3c 110 help/ref-mailto-conf.html \
4744bd90 111 help/ref-page_log.html \
bdd6c45b 112 help/ref-ppdcfile.html \
4744bd90 113 help/ref-printers-conf.html \
89d46774 114 help/ref-snmp-conf.html \
4744bd90 115 help/ref-subscriptions-conf.html \
116 help/security.html \
d2354e63 117 help/sharing.html \
1f6f3dbc 118 help/spec-banner.html \
4744bd90 119 help/spec-cmp.html \
b423cd4c 120 help/spec-command.html \
4744bd90 121 help/spec-design.html \
fa73b229 122 help/spec-ipp.html \
f11a948a 123 help/spec-pdf.html \
f7deaa1a 124 help/spec-postscript.html \
ef416fc2 125 help/spec-ppd.html \
4744bd90 126 help/spec-raster.html \
127 help/spec-stp.html \
ef416fc2 128 help/standard.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#