]>
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 MS |
36 | HELPIMAGES = \ |
37 | images/cups-block-diagram.gif \ | |
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 \ |
bdd6c45b | 72 | help/man-drv.html \ |
ef416fc2 | 73 | help/man-filter.html \ |
4744bd90 | 74 | help/man-lp.html \ |
ef416fc2 | 75 | help/man-lpadmin.html \ |
76 | help/man-lpc.html \ | |
ef416fc2 | 77 | help/man-lpinfo.html \ |
78 | help/man-lpmove.html \ | |
79 | help/man-lpoptions.html \ | |
80 | help/man-lppasswd.html \ | |
81 | help/man-lpq.html \ | |
82 | help/man-lpr.html \ | |
83 | help/man-lprm.html \ | |
84 | help/man-lpstat.html \ | |
bd7854cb | 85 | help/man-mime.convs.html \ |
86 | help/man-mime.types.html \ | |
178cb736 | 87 | help/man-notifier.html \ |
28b9d139 MS |
88 | help/man-ppdc.html \ |
89 | help/man-ppdhtml.html \ | |
90 | help/man-ppdi.html \ | |
91 | help/man-ppdmerge.html \ | |
92 | help/man-ppdpo.html \ | |
ef416fc2 | 93 | help/network.html \ |
4744bd90 | 94 | help/options.html \ |
ef416fc2 | 95 | help/overview.html \ |
8ca02f3c | 96 | help/policies.html \ |
28b9d139 MS |
97 | help/postscript-driver.html \ |
98 | help/ppd-compiler.html \ | |
e4572d57 | 99 | help/raster-driver.html \ |
4744bd90 | 100 | help/ref-access_log.html \ |
101 | help/ref-classes-conf.html \ | |
102 | help/ref-client-conf.html \ | |
103 | help/ref-cupsd-conf.html \ | |
104 | help/ref-error_log.html \ | |
8ca02f3c | 105 | help/ref-mailto-conf.html \ |
4744bd90 | 106 | help/ref-page_log.html \ |
bdd6c45b | 107 | help/ref-ppdcfile.html \ |
4744bd90 | 108 | help/ref-printers-conf.html \ |
89d46774 | 109 | help/ref-snmp-conf.html \ |
4744bd90 | 110 | help/ref-subscriptions-conf.html \ |
111 | help/security.html \ | |
d2354e63 | 112 | help/sharing.html \ |
1f6f3dbc | 113 | help/spec-banner.html \ |
b19ccc9e | 114 | help/spec-browsing.html \ |
4744bd90 | 115 | help/spec-cmp.html \ |
b423cd4c | 116 | help/spec-command.html \ |
4744bd90 | 117 | help/spec-design.html \ |
fa73b229 | 118 | help/spec-ipp.html \ |
f11a948a | 119 | help/spec-pdf.html \ |
f7deaa1a | 120 | help/spec-postscript.html \ |
ef416fc2 | 121 | help/spec-ppd.html \ |
4744bd90 | 122 | help/spec-raster.html \ |
123 | help/spec-stp.html \ | |
ef416fc2 | 124 | help/standard.html \ |
4744bd90 | 125 | help/translation.html \ |
ef416fc2 | 126 | help/whatsnew.html |
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; \ |
50fe7201 | 193 | $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \ |
b9faaae1 | 194 | test -f $$lang/cups.css && $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \ |
c0e1af83 | 195 | fi; \ |
757d2cad | 196 | done |
197 | ||
198 | ||
50fe7201 MS |
199 | # |
200 | # Install programs... | |
201 | # | |
202 | ||
203 | install-exec: | |
204 | ||
205 | ||
206 | # | |
207 | # Install headers... | |
208 | # | |
209 | ||
210 | install-headers: | |
211 | ||
212 | ||
213 | # | |
214 | # Install libraries... | |
215 | # | |
216 | ||
217 | install-libs: | |
218 | ||
219 | ||
757d2cad | 220 | # |
c168a833 | 221 | # Uninstall all documentation files... |
757d2cad | 222 | # |
223 | ||
ed486911 | 224 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 225 | for file in $(WEBPAGES); do \ |
226 | $(RM) $(DOCDIR)/$$file; \ | |
227 | done | |
228 | for file in $(HELPFILES); do \ | |
50fe7201 | 229 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 230 | done |
2e4ff8af | 231 | for file in $(WEBIMAGES); do \ |
50fe7201 | 232 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 233 | done |
ed486911 | 234 | -$(RMDIR) $(DOCDIR)/images |
235 | -$(RMDIR) $(DOCDIR)/help | |
236 | -$(RMDIR) $(DOCDIR) | |
237 | ||
238 | uninstall-languages: | |
757d2cad | 239 | -for lang in $(LANGUAGES); do \ |
240 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
c0e1af83 | 241 | $(RM) $(DOCDIR)/$$lang/cups.css; \ |
757d2cad | 242 | $(RMDIR) $(DOCDIR)/$$lang; \ |
bd7854cb | 243 | done |
ef416fc2 | 244 | |
245 | ||
f11a948a MS |
246 | # |
247 | # Install the docset bits locally... | |
248 | # | |
249 | ||
250 | docset: | |
251 | cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help | |
252 | cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation | |
253 | cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images | |
254 | ||
255 | ||
ef416fc2 | 256 | # |
257 | # End of Makefile. | |
258 | # |