]>
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 \ | |
28b9d139 MS |
87 | help/man-ppdc.html \ |
88 | help/man-ppdhtml.html \ | |
89 | help/man-ppdi.html \ | |
90 | help/man-ppdmerge.html \ | |
91 | help/man-ppdpo.html \ | |
ef416fc2 | 92 | help/network.html \ |
4744bd90 | 93 | help/options.html \ |
ef416fc2 | 94 | help/overview.html \ |
8ca02f3c | 95 | help/policies.html \ |
28b9d139 MS |
96 | help/postscript-driver.html \ |
97 | help/ppd-compiler.html \ | |
e4572d57 | 98 | help/raster-driver.html \ |
4744bd90 | 99 | help/ref-access_log.html \ |
100 | help/ref-classes-conf.html \ | |
101 | help/ref-client-conf.html \ | |
102 | help/ref-cupsd-conf.html \ | |
103 | help/ref-error_log.html \ | |
8ca02f3c | 104 | help/ref-mailto-conf.html \ |
4744bd90 | 105 | help/ref-page_log.html \ |
bdd6c45b | 106 | help/ref-ppdcfile.html \ |
4744bd90 | 107 | help/ref-printers-conf.html \ |
89d46774 | 108 | help/ref-snmp-conf.html \ |
4744bd90 | 109 | help/ref-subscriptions-conf.html \ |
110 | help/security.html \ | |
d2354e63 | 111 | help/sharing.html \ |
1f6f3dbc | 112 | help/spec-banner.html \ |
b19ccc9e | 113 | help/spec-browsing.html \ |
4744bd90 | 114 | help/spec-cmp.html \ |
b423cd4c | 115 | help/spec-command.html \ |
4744bd90 | 116 | help/spec-design.html \ |
fa73b229 | 117 | help/spec-ipp.html \ |
f11a948a | 118 | help/spec-pdf.html \ |
f7deaa1a | 119 | help/spec-postscript.html \ |
ef416fc2 | 120 | help/spec-ppd.html \ |
4744bd90 | 121 | help/spec-raster.html \ |
122 | help/spec-stp.html \ | |
ef416fc2 | 123 | help/standard.html \ |
4744bd90 | 124 | help/translation.html \ |
ef416fc2 | 125 | help/whatsnew.html |
126 | ||
127 | ||
128 | # | |
129 | # Make all documents... | |
130 | # | |
131 | ||
132 | all: | |
133 | ||
134 | ||
c9fc04c6 MS |
135 | # |
136 | # Make library targets... | |
137 | # | |
138 | ||
139 | libs: | |
140 | ||
141 | ||
5f64df29 MS |
142 | # |
143 | # Make unit tests... | |
144 | # | |
145 | ||
146 | unittests: | |
147 | ||
148 | ||
ef416fc2 | 149 | # |
150 | # Remove all generated files... | |
151 | # | |
152 | ||
153 | clean: | |
154 | ||
155 | ||
757d2cad | 156 | # |
157 | # Dummy depend target... | |
158 | # | |
159 | ||
160 | depend: | |
161 | ||
162 | ||
ef416fc2 | 163 | # |
50fe7201 | 164 | # Install all targets... |
ef416fc2 | 165 | # |
166 | ||
50fe7201 MS |
167 | install: all install-data install-headers install-libs install-exec |
168 | ||
169 | ||
170 | # | |
171 | # Install data files... | |
172 | # | |
173 | ||
c168a833 | 174 | install-data: $(INSTALL_LANGUAGES) |
bd7854cb | 175 | $(INSTALL_DIR) -m 755 $(DOCDIR) |
ef416fc2 | 176 | for file in $(WEBPAGES); do \ |
177 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
178 | done | |
bd7854cb | 179 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help |
ef416fc2 | 180 | for file in $(HELPFILES); do \ |
181 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
182 | done | |
bd7854cb | 183 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images |
f11a948a | 184 | for file in $(WEBIMAGES) $(HELPIMAGES); do \ |
ef416fc2 | 185 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ |
186 | done | |
ed486911 | 187 | |
188 | install-languages: | |
bd7854cb | 189 | for lang in $(LANGUAGES); do \ |
568fa3fa | 190 | if test -d $$lang; then \ |
c168a833 | 191 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ |
50fe7201 | 192 | $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \ |
b9faaae1 | 193 | test -f $$lang/cups.css && $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \ |
c0e1af83 | 194 | fi; \ |
757d2cad | 195 | done |
196 | ||
197 | ||
50fe7201 MS |
198 | # |
199 | # Install programs... | |
200 | # | |
201 | ||
202 | install-exec: | |
203 | ||
204 | ||
205 | # | |
206 | # Install headers... | |
207 | # | |
208 | ||
209 | install-headers: | |
210 | ||
211 | ||
212 | # | |
213 | # Install libraries... | |
214 | # | |
215 | ||
216 | install-libs: | |
217 | ||
218 | ||
757d2cad | 219 | # |
c168a833 | 220 | # Uninstall all documentation files... |
757d2cad | 221 | # |
222 | ||
ed486911 | 223 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 224 | for file in $(WEBPAGES); do \ |
225 | $(RM) $(DOCDIR)/$$file; \ | |
226 | done | |
227 | for file in $(HELPFILES); do \ | |
50fe7201 | 228 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 229 | done |
2e4ff8af | 230 | for file in $(WEBIMAGES); do \ |
50fe7201 | 231 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 232 | done |
ed486911 | 233 | -$(RMDIR) $(DOCDIR)/images |
234 | -$(RMDIR) $(DOCDIR)/help | |
235 | -$(RMDIR) $(DOCDIR) | |
236 | ||
237 | uninstall-languages: | |
757d2cad | 238 | -for lang in $(LANGUAGES); do \ |
239 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
c0e1af83 | 240 | $(RM) $(DOCDIR)/$$lang/cups.css; \ |
757d2cad | 241 | $(RMDIR) $(DOCDIR)/$$lang; \ |
bd7854cb | 242 | done |
ef416fc2 | 243 | |
244 | ||
f11a948a MS |
245 | # |
246 | # Install the docset bits locally... | |
247 | # | |
248 | ||
249 | docset: | |
250 | cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help | |
251 | cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation | |
252 | cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images | |
253 | ||
254 | ||
ef416fc2 | 255 | # |
256 | # End of Makefile. | |
257 | # |