]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
969af935 | 2 | # Documentation makefile for CUPS. |
ef416fc2 | 3 | # |
d825017a | 4 | # Copyright 2007-2016 by Apple Inc. |
969af935 | 5 | # Copyright 1997-2007 by Easy Software Products. |
ef416fc2 | 6 | # |
969af935 MS |
7 | # These coded instructions, statements, and computer programs are the |
8 | # property of Apple Inc. and are protected by Federal copyright | |
9 | # law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | # which should have been included with this file. If this file is | |
57b7b66b | 11 | # missing or damaged, see the license at "http://www.cups.org/". |
ef416fc2 | 12 | # |
13 | ||
14 | include ../Makedefs | |
15 | ||
16 | # | |
17 | # Document files... | |
18 | # | |
19 | ||
4744bd90 | 20 | WEBPAGES = \ |
dfc45c1b | 21 | apple-touch-icon.png \ |
4744bd90 | 22 | cups.css \ |
23 | cups-printable.css \ | |
4744bd90 | 24 | index.html \ |
25 | robots.txt | |
bd7854cb | 26 | WEBIMAGES = \ |
4b3f67ff | 27 | images/color-wheel.png \ |
2e4ff8af | 28 | images/cups.png \ |
2e4ff8af | 29 | images/cups-icon.png \ |
7cf5915e | 30 | images/generic.png \ |
2e4ff8af | 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 \ | |
0268488e MS |
42 | images/raster-organization.png \ |
43 | images/sample-image.png \ | |
f11a948a | 44 | images/smiley.jpg |
ef416fc2 | 45 | HELPFILES = \ |
09a101d6 | 46 | help/accounting.html \ |
dffa3c74 | 47 | help/api-admin.html \ |
ef416fc2 | 48 | help/api-filter.html \ |
ef416fc2 | 49 | help/api-ppd.html \ |
b423cd4c | 50 | help/api-raster.html \ |
4744bd90 | 51 | help/cgi.html \ |
798d6e29 | 52 | help/cupspm.html \ |
0ebe8e7c | 53 | help/encryption.html \ |
4744bd90 | 54 | help/glossary.html \ |
355e94dc | 55 | help/kerberos.html \ |
4744bd90 | 56 | help/license.html \ |
ef416fc2 | 57 | help/man-backend.html \ |
bd7854cb | 58 | help/man-cancel.html \ |
da516501 | 59 | help/man-classes.conf.html \ |
7131e285 | 60 | help/man-client.conf.html \ |
969af935 | 61 | help/man-cups.html \ |
ef416fc2 | 62 | help/man-cups-config.html \ |
da516501 | 63 | help/man-cups-files.conf.html \ |
ef416fc2 | 64 | help/man-cups-lpd.html \ |
f3c17241 | 65 | help/man-cups-snmp.html \ |
969af935 | 66 | help/man-cupsaccept.html \ |
4744bd90 | 67 | help/man-cupsaddsmb.html \ |
da516501 | 68 | help/man-cupsd.conf.html \ |
4744bd90 | 69 | help/man-cupsd.html \ |
7131e285 | 70 | help/man-cupsd-helper.html \ |
25d0c3fe | 71 | help/man-cupsd-logs.html \ |
4744bd90 | 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 \ | |
ef416fc2 | 84 | help/man-lpq.html \ |
85 | help/man-lpr.html \ | |
86 | help/man-lprm.html \ | |
87 | help/man-lpstat.html \ | |
bd7854cb | 88 | help/man-mime.convs.html \ |
89 | help/man-mime.types.html \ | |
178cb736 | 90 | help/man-notifier.html \ |
28b9d139 MS |
91 | help/man-ppdc.html \ |
92 | help/man-ppdhtml.html \ | |
93 | help/man-ppdi.html \ | |
94 | help/man-ppdmerge.html \ | |
95 | help/man-ppdpo.html \ | |
da516501 MS |
96 | help/man-printers.conf.html \ |
97 | help/man-subscriptions.conf.html \ | |
ef416fc2 | 98 | help/network.html \ |
4744bd90 | 99 | help/options.html \ |
ef416fc2 | 100 | help/overview.html \ |
8ca02f3c | 101 | help/policies.html \ |
28b9d139 MS |
102 | help/postscript-driver.html \ |
103 | help/ppd-compiler.html \ | |
e4572d57 | 104 | help/raster-driver.html \ |
bdd6c45b | 105 | help/ref-ppdcfile.html \ |
4744bd90 | 106 | help/security.html \ |
d2354e63 | 107 | help/sharing.html \ |
1f6f3dbc | 108 | help/spec-banner.html \ |
b423cd4c | 109 | help/spec-command.html \ |
4744bd90 | 110 | help/spec-design.html \ |
fa73b229 | 111 | help/spec-ipp.html \ |
f11a948a | 112 | help/spec-pdf.html \ |
f7deaa1a | 113 | help/spec-postscript.html \ |
ef416fc2 | 114 | help/spec-ppd.html \ |
4744bd90 | 115 | help/spec-raster.html \ |
116 | help/spec-stp.html \ | |
5f1456af | 117 | help/translation.html |
ef416fc2 | 118 | |
119 | ||
120 | # | |
121 | # Make all documents... | |
122 | # | |
123 | ||
124 | all: | |
125 | ||
126 | ||
c9fc04c6 MS |
127 | # |
128 | # Make library targets... | |
129 | # | |
130 | ||
131 | libs: | |
132 | ||
133 | ||
5f64df29 MS |
134 | # |
135 | # Make unit tests... | |
136 | # | |
137 | ||
138 | unittests: | |
139 | ||
140 | ||
ef416fc2 | 141 | # |
142 | # Remove all generated files... | |
143 | # | |
144 | ||
145 | clean: | |
146 | ||
147 | ||
757d2cad | 148 | # |
149 | # Dummy depend target... | |
150 | # | |
151 | ||
152 | depend: | |
153 | ||
154 | ||
ef416fc2 | 155 | # |
50fe7201 | 156 | # Install all targets... |
ef416fc2 | 157 | # |
158 | ||
50fe7201 MS |
159 | install: all install-data install-headers install-libs install-exec |
160 | ||
161 | ||
162 | # | |
163 | # Install data files... | |
164 | # | |
165 | ||
c168a833 | 166 | install-data: $(INSTALL_LANGUAGES) |
bd7854cb | 167 | $(INSTALL_DIR) -m 755 $(DOCDIR) |
ef416fc2 | 168 | for file in $(WEBPAGES); do \ |
169 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
170 | done | |
bd7854cb | 171 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help |
ef416fc2 | 172 | for file in $(HELPFILES); do \ |
173 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
174 | done | |
bd7854cb | 175 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images |
f11a948a | 176 | for file in $(WEBIMAGES) $(HELPIMAGES); do \ |
ef416fc2 | 177 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ |
178 | done | |
ed486911 | 179 | |
180 | install-languages: | |
bd7854cb | 181 | for lang in $(LANGUAGES); do \ |
568fa3fa | 182 | if test -d $$lang; then \ |
c168a833 | 183 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ |
b226ab99 MS |
184 | $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \ |
185 | $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \ | |
c0e1af83 | 186 | fi; \ |
757d2cad | 187 | done |
188 | ||
0837b7e8 MS |
189 | install-langbundle: |
190 | ||
757d2cad | 191 | |
50fe7201 MS |
192 | # |
193 | # Install programs... | |
194 | # | |
195 | ||
196 | install-exec: | |
197 | ||
198 | ||
199 | # | |
200 | # Install headers... | |
201 | # | |
202 | ||
203 | install-headers: | |
204 | ||
205 | ||
206 | # | |
207 | # Install libraries... | |
208 | # | |
209 | ||
210 | install-libs: | |
211 | ||
212 | ||
757d2cad | 213 | # |
c168a833 | 214 | # Uninstall all documentation files... |
757d2cad | 215 | # |
216 | ||
ed486911 | 217 | uninstall: $(UNINSTALL_LANGUAGES) |
757d2cad | 218 | for file in $(WEBPAGES); do \ |
219 | $(RM) $(DOCDIR)/$$file; \ | |
220 | done | |
221 | for file in $(HELPFILES); do \ | |
50fe7201 | 222 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 223 | done |
2e4ff8af | 224 | for file in $(WEBIMAGES); do \ |
50fe7201 | 225 | $(RM) $(DOCDIR)/$$file; \ |
757d2cad | 226 | done |
ed486911 | 227 | -$(RMDIR) $(DOCDIR)/images |
228 | -$(RMDIR) $(DOCDIR)/help | |
229 | -$(RMDIR) $(DOCDIR) | |
230 | ||
231 | uninstall-languages: | |
757d2cad | 232 | -for lang in $(LANGUAGES); do \ |
233 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
c0e1af83 | 234 | $(RM) $(DOCDIR)/$$lang/cups.css; \ |
757d2cad | 235 | $(RMDIR) $(DOCDIR)/$$lang; \ |
bd7854cb | 236 | done |
ef416fc2 | 237 | |
0837b7e8 MS |
238 | install-langbundle: |
239 | ||
ef416fc2 | 240 | |
f11a948a MS |
241 | # |
242 | # Install the docset bits locally... | |
243 | # | |
244 | ||
245 | docset: | |
246 | cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help | |
247 | cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation | |
248 | cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images |