]>
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 MS |
30 | images/cups-icon.png \ |
31 | images/left.gif \ | |
2e4ff8af MS |
32 | images/right.gif \ |
33 | images/sel.gif \ | |
2e4ff8af | 34 | images/unsel.gif \ |
58dc1933 | 35 | images/wait.gif |
f11a948a | 36 | HELPIMAGES = \ |
393ac6ab | 37 | images/cups-block-diagram.png \ |
f11a948a MS |
38 | images/cups-command-chain.png \ |
39 | images/cups-postscript-chain.png \ | |
40 | images/cups-raster-chain.png \ | |
41 | images/raster.png \ | |
42 | images/smiley.jpg | |
ef416fc2 | 43 | HELPFILES = \ |
09a101d6 | 44 | help/accounting.html \ |
ef416fc2 | 45 | help/api-array.html \ |
f11a948a | 46 | help/api-cgi.html \ |
ef416fc2 | 47 | help/api-cups.html \ |
f11a948a | 48 | help/api-driver.html \ |
ef416fc2 | 49 | help/api-filedir.html \ |
50 | help/api-filter.html \ | |
51 | help/api-httpipp.html \ | |
f11a948a | 52 | help/api-mime.html \ |
5a738aea | 53 | help/api-overview.html \ |
ef416fc2 | 54 | help/api-ppd.html \ |
f11a948a | 55 | help/api-ppdc.html \ |
b423cd4c | 56 | help/api-raster.html \ |
4744bd90 | 57 | help/cgi.html \ |
58 | help/glossary.html \ | |
355e94dc | 59 | help/kerberos.html \ |
4744bd90 | 60 | help/license.html \ |
49d87452 | 61 | help/man-cupsaccept.html \ |
ef416fc2 | 62 | help/man-backend.html \ |
bd7854cb | 63 | help/man-cancel.html \ |
ef416fc2 | 64 | help/man-cups-config.html \ |
ef416fc2 | 65 | help/man-cups-lpd.html \ |
66 | help/man-cups-polld.html \ | |
4744bd90 | 67 | help/man-cupsaddsmb.html \ |
4744bd90 | 68 | help/man-cupsd.html \ |
69 | help/man-cupsenable.html \ | |
80ca4592 | 70 | help/man-cupstestdsc.html \ |
ef416fc2 | 71 | help/man-cupstestppd.html \ |
72 | help/man-filter.html \ | |
aaf19ab0 MS |
73 | help/man-ipptool.html \ |
74 | help/man-ipptoolfile.html \ | |
4744bd90 | 75 | help/man-lp.html \ |
ef416fc2 | 76 | help/man-lpadmin.html \ |
77 | help/man-lpc.html \ | |
ef416fc2 | 78 | help/man-lpinfo.html \ |
79 | help/man-lpmove.html \ | |
80 | help/man-lpoptions.html \ | |
81 | help/man-lppasswd.html \ | |
82 | help/man-lpq.html \ | |
83 | help/man-lpr.html \ | |
84 | help/man-lprm.html \ | |
85 | help/man-lpstat.html \ | |
bd7854cb | 86 | help/man-mime.convs.html \ |
87 | help/man-mime.types.html \ | |
178cb736 | 88 | help/man-notifier.html \ |
28b9d139 MS |
89 | help/man-ppdc.html \ |
90 | help/man-ppdhtml.html \ | |
91 | help/man-ppdi.html \ | |
92 | help/man-ppdmerge.html \ | |
93 | help/man-ppdpo.html \ | |
ef416fc2 | 94 | help/network.html \ |
4744bd90 | 95 | help/options.html \ |
ef416fc2 | 96 | help/overview.html \ |
8ca02f3c | 97 | help/policies.html \ |
28b9d139 MS |
98 | help/postscript-driver.html \ |
99 | help/ppd-compiler.html \ | |
e4572d57 | 100 | help/raster-driver.html \ |
4744bd90 | 101 | help/ref-access_log.html \ |
102 | help/ref-classes-conf.html \ | |
103 | help/ref-client-conf.html \ | |
104 | help/ref-cupsd-conf.html \ | |
105 | help/ref-error_log.html \ | |
8ca02f3c | 106 | help/ref-mailto-conf.html \ |
4744bd90 | 107 | help/ref-page_log.html \ |
bdd6c45b | 108 | help/ref-ppdcfile.html \ |
4744bd90 | 109 | help/ref-printers-conf.html \ |
89d46774 | 110 | help/ref-snmp-conf.html \ |
4744bd90 | 111 | help/ref-subscriptions-conf.html \ |
112 | help/security.html \ | |
d2354e63 | 113 | help/sharing.html \ |
1f6f3dbc | 114 | help/spec-banner.html \ |
b19ccc9e | 115 | help/spec-browsing.html \ |
4744bd90 | 116 | help/spec-cmp.html \ |
b423cd4c | 117 | help/spec-command.html \ |
4744bd90 | 118 | help/spec-design.html \ |
fa73b229 | 119 | help/spec-ipp.html \ |
f11a948a | 120 | help/spec-pdf.html \ |
f7deaa1a | 121 | help/spec-postscript.html \ |
ef416fc2 | 122 | help/spec-ppd.html \ |
4744bd90 | 123 | help/spec-raster.html \ |
124 | help/spec-stp.html \ | |
ef416fc2 | 125 | help/standard.html \ |
4744bd90 | 126 | help/translation.html \ |
ef416fc2 | 127 | help/whatsnew.html |
128 | ||
129 | ||
130 | # | |
131 | # Make all documents... | |
132 | # | |
133 | ||
134 | all: | |
135 | ||
136 | ||
c9fc04c6 MS |
137 | # |
138 | # Make library targets... | |
139 | # | |
140 | ||
141 | libs: | |
142 | ||
143 | ||
5f64df29 MS |
144 | # |
145 | # Make unit tests... | |
146 | # | |
147 | ||
148 | unittests: | |
149 | ||
150 | ||
ef416fc2 | 151 | # |
152 | # Remove all generated files... | |
153 | # | |
154 | ||
155 | clean: | |
156 | ||
157 | ||
757d2cad | 158 | # |
159 | # Dummy depend target... | |
160 | # | |
161 | ||
162 | depend: | |
163 | ||
164 | ||
ef416fc2 | 165 | # |
50fe7201 | 166 | # Install all targets... |
ef416fc2 | 167 | # |
168 | ||
50fe7201 MS |
169 | install: all install-data install-headers install-libs install-exec |
170 | ||
171 | ||
172 | # | |
173 | # Install data files... | |
174 | # | |
175 | ||
c168a833 | 176 | install-data: $(INSTALL_LANGUAGES) |
bd7854cb | 177 | $(INSTALL_DIR) -m 755 $(DOCDIR) |
ef416fc2 | 178 | for file in $(WEBPAGES); do \ |
179 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
180 | done | |
bd7854cb | 181 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help |
ef416fc2 | 182 | for file in $(HELPFILES); do \ |
183 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
184 | done | |
bd7854cb | 185 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images |
f11a948a | 186 | for file in $(WEBIMAGES) $(HELPIMAGES); do \ |
ef416fc2 | 187 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ |
188 | done | |
ed486911 | 189 | |
190 | install-languages: | |
bd7854cb | 191 | for lang in $(LANGUAGES); do \ |
568fa3fa | 192 | if test -d $$lang; then \ |
c168a833 | 193 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ |
b226ab99 MS |
194 | $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \ |
195 | $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \ | |
c0e1af83 | 196 | fi; \ |
757d2cad | 197 | done |
198 | ||
199 | ||
50fe7201 MS |
200 | # |
201 | # Install programs... | |
202 | # | |
203 | ||
204 | install-exec: | |
205 | ||
206 | ||
207 | # | |
208 | # Install headers... | |
209 | # | |
210 | ||
211 | install-headers: | |
212 | ||
213 | ||
214 | # | |
215 | # Install libraries... | |
216 | # | |
217 | ||
218 | install-libs: | |
219 | ||
220 | ||
757d2cad | 221 | # |
c168a833 | 222 | # Uninstall all documentation files... |
757d2cad | 223 | # |
224 | ||
ed486911 | 225 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 226 | for file in $(WEBPAGES); do \ |
227 | $(RM) $(DOCDIR)/$$file; \ | |
228 | done | |
229 | for file in $(HELPFILES); do \ | |
50fe7201 | 230 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 231 | done |
2e4ff8af | 232 | for file in $(WEBIMAGES); do \ |
50fe7201 | 233 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 234 | done |
ed486911 | 235 | -$(RMDIR) $(DOCDIR)/images |
236 | -$(RMDIR) $(DOCDIR)/help | |
237 | -$(RMDIR) $(DOCDIR) | |
238 | ||
239 | uninstall-languages: | |
757d2cad | 240 | -for lang in $(LANGUAGES); do \ |
241 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
c0e1af83 | 242 | $(RM) $(DOCDIR)/$$lang/cups.css; \ |
757d2cad | 243 | $(RMDIR) $(DOCDIR)/$$lang; \ |
bd7854cb | 244 | done |
ef416fc2 | 245 | |
246 | ||
f11a948a MS |
247 | # |
248 | # Install the docset bits locally... | |
249 | # | |
250 | ||
251 | docset: | |
252 | cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help | |
253 | cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation | |
254 | cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images | |
255 | ||
256 | ||
ef416fc2 | 257 | # |
258 | # End of Makefile. | |
259 | # |