]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
b19ccc9e | 2 | # "$Id: Makefile 7941 2008-09-16 00:46:13Z mike $" |
ef416fc2 | 3 | # |
4 | # Documentation makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
f11a948a | 6 | # Copyright 2007-2009 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 | ||
16 | include ../Makedefs | |
17 | ||
18 | # | |
19 | # Document files... | |
20 | # | |
21 | ||
4744bd90 | 22 | WEBPAGES = \ |
23 | cups.css \ | |
24 | cups-printable.css \ | |
4744bd90 | 25 | index.html \ |
26 | robots.txt | |
bd7854cb | 27 | WEBIMAGES = \ |
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 | 37 | HELPIMAGES = \ |
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 \ | |
43 | images/smiley.jpg | |
ef416fc2 | 44 | HELPFILES = \ |
09a101d6 | 45 | help/accounting.html \ |
ef416fc2 | 46 | help/api-array.html \ |
f11a948a | 47 | help/api-cgi.html \ |
ef416fc2 | 48 | help/api-cups.html \ |
f11a948a | 49 | help/api-driver.html \ |
ef416fc2 | 50 | help/api-filedir.html \ |
51 | help/api-filter.html \ | |
52 | help/api-httpipp.html \ | |
f11a948a | 53 | help/api-mime.html \ |
5a738aea | 54 | help/api-overview.html \ |
ef416fc2 | 55 | help/api-ppd.html \ |
f11a948a | 56 | help/api-ppdc.html \ |
b423cd4c | 57 | help/api-raster.html \ |
4744bd90 | 58 | help/cgi.html \ |
59 | help/glossary.html \ | |
355e94dc | 60 | help/kerberos.html \ |
4744bd90 | 61 | help/license.html \ |
49d87452 | 62 | help/man-cupsaccept.html \ |
ef416fc2 | 63 | help/man-backend.html \ |
bd7854cb | 64 | help/man-cancel.html \ |
ef416fc2 | 65 | help/man-cups-config.html \ |
ef416fc2 | 66 | help/man-cups-lpd.html \ |
67 | help/man-cups-polld.html \ | |
4744bd90 | 68 | help/man-cupsaddsmb.html \ |
4744bd90 | 69 | help/man-cupsd.html \ |
70 | help/man-cupsenable.html \ | |
80ca4592 | 71 | help/man-cupstestdsc.html \ |
ef416fc2 | 72 | help/man-cupstestppd.html \ |
73 | help/man-filter.html \ | |
aaf19ab0 MS |
74 | help/man-ipptool.html \ |
75 | help/man-ipptoolfile.html \ | |
4744bd90 | 76 | help/man-lp.html \ |
ef416fc2 | 77 | help/man-lpadmin.html \ |
78 | help/man-lpc.html \ | |
ef416fc2 | 79 | help/man-lpinfo.html \ |
80 | help/man-lpmove.html \ | |
81 | help/man-lpoptions.html \ | |
82 | help/man-lppasswd.html \ | |
83 | help/man-lpq.html \ | |
84 | help/man-lpr.html \ | |
85 | help/man-lprm.html \ | |
86 | help/man-lpstat.html \ | |
bd7854cb | 87 | help/man-mime.convs.html \ |
88 | help/man-mime.types.html \ | |
178cb736 | 89 | help/man-notifier.html \ |
28b9d139 MS |
90 | help/man-ppdc.html \ |
91 | help/man-ppdhtml.html \ | |
92 | help/man-ppdi.html \ | |
93 | help/man-ppdmerge.html \ | |
94 | help/man-ppdpo.html \ | |
ef416fc2 | 95 | help/network.html \ |
4744bd90 | 96 | help/options.html \ |
ef416fc2 | 97 | help/overview.html \ |
8ca02f3c | 98 | help/policies.html \ |
28b9d139 MS |
99 | help/postscript-driver.html \ |
100 | help/ppd-compiler.html \ | |
e4572d57 | 101 | help/raster-driver.html \ |
4744bd90 | 102 | help/ref-access_log.html \ |
103 | help/ref-classes-conf.html \ | |
104 | help/ref-client-conf.html \ | |
105 | help/ref-cupsd-conf.html \ | |
106 | help/ref-error_log.html \ | |
8ca02f3c | 107 | help/ref-mailto-conf.html \ |
4744bd90 | 108 | help/ref-page_log.html \ |
bdd6c45b | 109 | help/ref-ppdcfile.html \ |
4744bd90 | 110 | help/ref-printers-conf.html \ |
89d46774 | 111 | help/ref-snmp-conf.html \ |
4744bd90 | 112 | help/ref-subscriptions-conf.html \ |
113 | help/security.html \ | |
d2354e63 | 114 | help/sharing.html \ |
1f6f3dbc | 115 | help/spec-banner.html \ |
b19ccc9e | 116 | help/spec-browsing.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 \ | |
ef416fc2 | 126 | help/standard.html \ |
4744bd90 | 127 | help/translation.html \ |
ef416fc2 | 128 | help/whatsnew.html |
129 | ||
130 | ||
131 | # | |
132 | # Make all documents... | |
133 | # | |
134 | ||
135 | all: | |
136 | ||
137 | ||
c9fc04c6 MS |
138 | # |
139 | # Make library targets... | |
140 | # | |
141 | ||
142 | libs: | |
143 | ||
144 | ||
5f64df29 MS |
145 | # |
146 | # Make unit tests... | |
147 | # | |
148 | ||
149 | unittests: | |
150 | ||
151 | ||
ef416fc2 | 152 | # |
153 | # Remove all generated files... | |
154 | # | |
155 | ||
156 | clean: | |
157 | ||
158 | ||
757d2cad | 159 | # |
160 | # Dummy depend target... | |
161 | # | |
162 | ||
163 | depend: | |
164 | ||
165 | ||
ef416fc2 | 166 | # |
50fe7201 | 167 | # Install all targets... |
ef416fc2 | 168 | # |
169 | ||
50fe7201 MS |
170 | install: all install-data install-headers install-libs install-exec |
171 | ||
172 | ||
173 | # | |
174 | # Install data files... | |
175 | # | |
176 | ||
c168a833 | 177 | install-data: $(INSTALL_LANGUAGES) |
bd7854cb | 178 | $(INSTALL_DIR) -m 755 $(DOCDIR) |
ef416fc2 | 179 | for file in $(WEBPAGES); do \ |
180 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
181 | done | |
bd7854cb | 182 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help |
ef416fc2 | 183 | for file in $(HELPFILES); do \ |
184 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
185 | done | |
bd7854cb | 186 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images |
f11a948a | 187 | for file in $(WEBIMAGES) $(HELPIMAGES); do \ |
ef416fc2 | 188 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ |
189 | done | |
ed486911 | 190 | |
191 | install-languages: | |
bd7854cb | 192 | for lang in $(LANGUAGES); do \ |
568fa3fa | 193 | if test -d $$lang; then \ |
c168a833 | 194 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ |
b226ab99 MS |
195 | $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \ |
196 | $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \ | |
c0e1af83 | 197 | fi; \ |
757d2cad | 198 | done |
199 | ||
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 | |
247 | ||
f11a948a MS |
248 | # |
249 | # Install the docset bits locally... | |
250 | # | |
251 | ||
252 | docset: | |
253 | cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help | |
254 | cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation | |
255 | cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images | |
256 | ||
257 | ||
ef416fc2 | 258 | # |
259 | # End of Makefile. | |
260 | # |