]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/Makefile
Fix httpWriteResponse state values after a 0-length response.
[thirdparty/cups.git] / doc / Makefile
1 #
2 # "$Id$"
3 #
4 # Documentation makefile for CUPS.
5 #
6 # Copyright 2007-2012 by Apple Inc.
7 # Copyright 1997-2007 by Easy Software Products.
8 #
9 # These coded instructions, statements, and computer programs are the
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/".
14 #
15
16 include ../Makedefs
17
18 #
19 # Document files...
20 #
21
22 WEBPAGES = \
23 apple-touch-icon.png \
24 cups.css \
25 cups-printable.css \
26 index.html \
27 robots.txt
28 WEBIMAGES = \
29 images/color-wheel.png \
30 images/cups.png \
31 images/cups-icon.png \
32 images/generic.png \
33 images/left.gif \
34 images/right.gif \
35 images/sel.gif \
36 images/unsel.gif \
37 images/wait.gif
38 HELPIMAGES = \
39 images/cups-block-diagram.png \
40 images/cups-command-chain.png \
41 images/cups-postscript-chain.png \
42 images/cups-raster-chain.png \
43 images/raster.png \
44 images/raster-organization.png \
45 images/sample-image.png \
46 images/smiley.jpg
47 HELPFILES = \
48 help/accounting.html \
49 help/api-array.html \
50 help/api-cgi.html \
51 help/api-cups.html \
52 help/api-driver.html \
53 help/api-filedir.html \
54 help/api-filter.html \
55 help/api-httpipp.html \
56 help/api-mime.html \
57 help/api-overview.html \
58 help/api-ppd.html \
59 help/api-ppdc.html \
60 help/api-raster.html \
61 help/cgi.html \
62 help/glossary.html \
63 help/kerberos.html \
64 help/license.html \
65 help/man-cupsaccept.html \
66 help/man-backend.html \
67 help/man-cancel.html \
68 help/man-cups-config.html \
69 help/man-cups-lpd.html \
70 help/man-cups-snmp.html \
71 help/man-cupsaddsmb.html \
72 help/man-cupsd.html \
73 help/man-cupsenable.html \
74 help/man-cupstestdsc.html \
75 help/man-cupstestppd.html \
76 help/man-filter.html \
77 help/man-ipptool.html \
78 help/man-ipptoolfile.html \
79 help/man-lp.html \
80 help/man-lpadmin.html \
81 help/man-lpc.html \
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 \
90 help/man-mime.convs.html \
91 help/man-mime.types.html \
92 help/man-notifier.html \
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 \
98 help/network.html \
99 help/options.html \
100 help/overview.html \
101 help/policies.html \
102 help/postscript-driver.html \
103 help/ppd-compiler.html \
104 help/raster-driver.html \
105 help/ref-access_log.html \
106 help/ref-classes-conf.html \
107 help/ref-client-conf.html \
108 help/ref-cupsd-conf.html \
109 help/ref-cups-files-conf.html \
110 help/ref-error_log.html \
111 help/ref-mailto-conf.html \
112 help/ref-page_log.html \
113 help/ref-ppdcfile.html \
114 help/ref-printers-conf.html \
115 help/ref-snmp-conf.html \
116 help/ref-subscriptions-conf.html \
117 help/security.html \
118 help/sharing.html \
119 help/spec-banner.html \
120 help/spec-cmp.html \
121 help/spec-command.html \
122 help/spec-design.html \
123 help/spec-ipp.html \
124 help/spec-pdf.html \
125 help/spec-postscript.html \
126 help/spec-ppd.html \
127 help/spec-raster.html \
128 help/spec-stp.html \
129 help/translation.html \
130 help/whatsnew.html
131
132
133 #
134 # Make all documents...
135 #
136
137 all:
138
139
140 #
141 # Make library targets...
142 #
143
144 libs:
145
146
147 #
148 # Make unit tests...
149 #
150
151 unittests:
152
153
154 #
155 # Remove all generated files...
156 #
157
158 clean:
159
160
161 #
162 # Dummy depend target...
163 #
164
165 depend:
166
167
168 #
169 # Install all targets...
170 #
171
172 install: all install-data install-headers install-libs install-exec
173
174
175 #
176 # Install data files...
177 #
178
179 install-data: $(INSTALL_LANGUAGES)
180 $(INSTALL_DIR) -m 755 $(DOCDIR)
181 for file in $(WEBPAGES); do \
182 $(INSTALL_MAN) $$file $(DOCDIR); \
183 done
184 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
185 for file in $(HELPFILES); do \
186 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
187 done
188 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
189 for file in $(WEBIMAGES) $(HELPIMAGES); do \
190 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
191 done
192
193 install-languages:
194 for lang in $(LANGUAGES); do \
195 if test -d $$lang; then \
196 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
197 $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \
198 $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \
199 fi; \
200 done
201
202 install-langbundle:
203
204
205 #
206 # Install programs...
207 #
208
209 install-exec:
210
211
212 #
213 # Install headers...
214 #
215
216 install-headers:
217
218
219 #
220 # Install libraries...
221 #
222
223 install-libs:
224
225
226 #
227 # Uninstall all documentation files...
228 #
229
230 uninstall: $(UNINSTALL_LANGUAGES)
231 for file in $(WEBPAGES); do \
232 $(RM) $(DOCDIR)/$$file; \
233 done
234 for file in $(HELPFILES); do \
235 $(RM) $(DOCDIR)/$$file; \
236 done
237 for file in $(WEBIMAGES); do \
238 $(RM) $(DOCDIR)/$$file; \
239 done
240 -$(RMDIR) $(DOCDIR)/images
241 -$(RMDIR) $(DOCDIR)/help
242 -$(RMDIR) $(DOCDIR)
243
244 uninstall-languages:
245 -for lang in $(LANGUAGES); do \
246 $(RM) $(DOCDIR)/$$lang/index.html; \
247 $(RM) $(DOCDIR)/$$lang/cups.css; \
248 $(RMDIR) $(DOCDIR)/$$lang; \
249 done
250
251 install-langbundle:
252
253
254 #
255 # Install the docset bits locally...
256 #
257
258 docset:
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
264 #
265 # End of Makefile.
266 #