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