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