]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
f2d18633 | 2 | # "$Id$" |
ef416fc2 | 3 | # |
969af935 | 4 | # Documentation makefile for CUPS. |
ef416fc2 | 5 | # |
969af935 MS |
6 | # Copyright 2007-2014 by Apple Inc. |
7 | # Copyright 1997-2007 by Easy Software Products. | |
ef416fc2 | 8 | # |
969af935 MS |
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/". | |
ef416fc2 | 14 | # |
15 | ||
16 | include ../Makedefs | |
17 | ||
18 | # | |
19 | # Document files... | |
20 | # | |
21 | ||
4744bd90 | 22 | WEBPAGES = \ |
dfc45c1b | 23 | apple-touch-icon.png \ |
4744bd90 | 24 | cups.css \ |
25 | cups-printable.css \ | |
4744bd90 | 26 | index.html \ |
27 | robots.txt | |
bd7854cb | 28 | WEBIMAGES = \ |
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 | 38 | HELPIMAGES = \ |
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 | 47 | HELPFILES = \ |
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 \ |
ef416fc2 | 65 | help/man-backend.html \ |
bd7854cb | 66 | help/man-cancel.html \ |
da516501 | 67 | help/man-classes.conf.html \ |
7131e285 | 68 | help/man-client.conf.html \ |
969af935 | 69 | help/man-cups.html \ |
ef416fc2 | 70 | help/man-cups-config.html \ |
da516501 | 71 | help/man-cups-files.conf.html \ |
ef416fc2 | 72 | help/man-cups-lpd.html \ |
f3c17241 | 73 | help/man-cups-snmp.html \ |
969af935 | 74 | help/man-cupsaccept.html \ |
4744bd90 | 75 | help/man-cupsaddsmb.html \ |
da516501 | 76 | help/man-cupsd.conf.html \ |
4744bd90 | 77 | help/man-cupsd.html \ |
7131e285 | 78 | help/man-cupsd-helper.html \ |
25d0c3fe | 79 | help/man-cupsd-logs.html \ |
4744bd90 | 80 | help/man-cupsenable.html \ |
80ca4592 | 81 | help/man-cupstestdsc.html \ |
ef416fc2 | 82 | help/man-cupstestppd.html \ |
83 | help/man-filter.html \ | |
aaf19ab0 MS |
84 | help/man-ipptool.html \ |
85 | help/man-ipptoolfile.html \ | |
4744bd90 | 86 | help/man-lp.html \ |
ef416fc2 | 87 | help/man-lpadmin.html \ |
88 | help/man-lpc.html \ | |
ef416fc2 | 89 | help/man-lpinfo.html \ |
90 | help/man-lpmove.html \ | |
91 | help/man-lpoptions.html \ | |
ef416fc2 | 92 | help/man-lpq.html \ |
93 | help/man-lpr.html \ | |
94 | help/man-lprm.html \ | |
95 | help/man-lpstat.html \ | |
bd7854cb | 96 | help/man-mime.convs.html \ |
97 | help/man-mime.types.html \ | |
178cb736 | 98 | help/man-notifier.html \ |
28b9d139 MS |
99 | help/man-ppdc.html \ |
100 | help/man-ppdhtml.html \ | |
101 | help/man-ppdi.html \ | |
102 | help/man-ppdmerge.html \ | |
103 | help/man-ppdpo.html \ | |
da516501 MS |
104 | help/man-printers.conf.html \ |
105 | help/man-subscriptions.conf.html \ | |
ef416fc2 | 106 | help/network.html \ |
4744bd90 | 107 | help/options.html \ |
ef416fc2 | 108 | help/overview.html \ |
8ca02f3c | 109 | help/policies.html \ |
28b9d139 MS |
110 | help/postscript-driver.html \ |
111 | help/ppd-compiler.html \ | |
e4572d57 | 112 | help/raster-driver.html \ |
bdd6c45b | 113 | help/ref-ppdcfile.html \ |
4744bd90 | 114 | help/security.html \ |
d2354e63 | 115 | help/sharing.html \ |
1f6f3dbc | 116 | help/spec-banner.html \ |
4744bd90 | 117 | help/spec-cmp.html \ |
b423cd4c | 118 | help/spec-command.html \ |
4744bd90 | 119 | help/spec-design.html \ |
fa73b229 | 120 | help/spec-ipp.html \ |
f11a948a | 121 | help/spec-pdf.html \ |
f7deaa1a | 122 | help/spec-postscript.html \ |
ef416fc2 | 123 | help/spec-ppd.html \ |
4744bd90 | 124 | help/spec-raster.html \ |
125 | help/spec-stp.html \ | |
5f1456af | 126 | help/translation.html |
ef416fc2 | 127 | |
128 | ||
129 | # | |
130 | # Make all documents... | |
131 | # | |
132 | ||
133 | all: | |
134 | ||
135 | ||
c9fc04c6 MS |
136 | # |
137 | # Make library targets... | |
138 | # | |
139 | ||
140 | libs: | |
141 | ||
142 | ||
5f64df29 MS |
143 | # |
144 | # Make unit tests... | |
145 | # | |
146 | ||
147 | unittests: | |
148 | ||
149 | ||
ef416fc2 | 150 | # |
151 | # Remove all generated files... | |
152 | # | |
153 | ||
154 | clean: | |
155 | ||
156 | ||
757d2cad | 157 | # |
158 | # Dummy depend target... | |
159 | # | |
160 | ||
161 | depend: | |
162 | ||
163 | ||
ef416fc2 | 164 | # |
50fe7201 | 165 | # Install all targets... |
ef416fc2 | 166 | # |
167 | ||
50fe7201 MS |
168 | install: all install-data install-headers install-libs install-exec |
169 | ||
170 | ||
171 | # | |
172 | # Install data files... | |
173 | # | |
174 | ||
c168a833 | 175 | install-data: $(INSTALL_LANGUAGES) |
bd7854cb | 176 | $(INSTALL_DIR) -m 755 $(DOCDIR) |
ef416fc2 | 177 | for file in $(WEBPAGES); do \ |
178 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
179 | done | |
bd7854cb | 180 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help |
ef416fc2 | 181 | for file in $(HELPFILES); do \ |
182 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
183 | done | |
bd7854cb | 184 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images |
f11a948a | 185 | for file in $(WEBIMAGES) $(HELPIMAGES); do \ |
ef416fc2 | 186 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ |
187 | done | |
ed486911 | 188 | |
189 | install-languages: | |
bd7854cb | 190 | for lang in $(LANGUAGES); do \ |
568fa3fa | 191 | if test -d $$lang; then \ |
c168a833 | 192 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ |
b226ab99 MS |
193 | $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \ |
194 | $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \ | |
c0e1af83 | 195 | fi; \ |
757d2cad | 196 | done |
197 | ||
0837b7e8 MS |
198 | install-langbundle: |
199 | ||
757d2cad | 200 | |
50fe7201 MS |
201 | # |
202 | # Install programs... | |
203 | # | |
204 | ||
205 | install-exec: | |
206 | ||
207 | ||
208 | # | |
209 | # Install headers... | |
210 | # | |
211 | ||
212 | install-headers: | |
213 | ||
214 | ||
215 | # | |
216 | # Install libraries... | |
217 | # | |
218 | ||
219 | install-libs: | |
220 | ||
221 | ||
757d2cad | 222 | # |
c168a833 | 223 | # Uninstall all documentation files... |
757d2cad | 224 | # |
225 | ||
ed486911 | 226 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 227 | for file in $(WEBPAGES); do \ |
228 | $(RM) $(DOCDIR)/$$file; \ | |
229 | done | |
230 | for file in $(HELPFILES); do \ | |
50fe7201 | 231 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 232 | done |
2e4ff8af | 233 | for file in $(WEBIMAGES); do \ |
50fe7201 | 234 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 235 | done |
ed486911 | 236 | -$(RMDIR) $(DOCDIR)/images |
237 | -$(RMDIR) $(DOCDIR)/help | |
238 | -$(RMDIR) $(DOCDIR) | |
239 | ||
240 | uninstall-languages: | |
757d2cad | 241 | -for lang in $(LANGUAGES); do \ |
242 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
c0e1af83 | 243 | $(RM) $(DOCDIR)/$$lang/cups.css; \ |
757d2cad | 244 | $(RMDIR) $(DOCDIR)/$$lang; \ |
bd7854cb | 245 | done |
ef416fc2 | 246 | |
0837b7e8 MS |
247 | install-langbundle: |
248 | ||
ef416fc2 | 249 | |
f11a948a MS |
250 | # |
251 | # Install the docset bits locally... | |
252 | # | |
253 | ||
254 | docset: | |
255 | cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help | |
256 | cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation | |
257 | cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images | |
258 | ||
259 | ||
ef416fc2 | 260 | # |
261 | # End of Makefile. | |
262 | # |