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