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