]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
80ca4592 | 2 | # "$Id: Makefile 5328 2006-03-23 20:23:19Z mike $" |
ef416fc2 | 3 | # |
4 | # Documentation makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
b423cd4c | 6 | # Copyright 1997-2006 by Easy Software Products. |
ef416fc2 | 7 | # |
8 | # These coded instructions, statements, and computer programs are the | |
9 | # property of Easy Software Products and are protected by Federal | |
10 | # copyright law. Distribution and use rights are outlined in the file | |
11 | # "LICENSE.txt" which should have been included with this file. If this | |
12 | # file is missing or damaged please contact Easy Software Products | |
13 | # at: | |
14 | # | |
15 | # Attn: CUPS Licensing Information | |
16 | # Easy Software Products | |
17 | # 44141 Airport View Drive, Suite 204 | |
18 | # Hollywood, Maryland 20636 USA | |
19 | # | |
20 | # Voice: (301) 373-9600 | |
21 | # EMail: cups-info@cups.org | |
22 | # WWW: http://www.cups.org | |
23 | # | |
24 | ||
25 | include ../Makedefs | |
26 | ||
27 | # | |
28 | # Document files... | |
29 | # | |
30 | ||
4744bd90 | 31 | WEBPAGES = \ |
32 | cups.css \ | |
33 | cups-printable.css \ | |
34 | favicon.ico \ | |
35 | index.html \ | |
36 | robots.txt | |
bd7854cb | 37 | WEBBUTTONS = \ |
4744bd90 | 38 | images/button-accept-jobs.gif \ |
39 | images/button-add-class.gif \ | |
40 | images/button-add-printer.gif \ | |
41 | images/button-add-this-printer.gif \ | |
4744bd90 | 42 | images/button-cancel-all-jobs.gif \ |
43 | images/button-cancel-job.gif \ | |
44 | images/button-change-settings.gif \ | |
45 | images/button-clean-print-heads.gif \ | |
46 | images/button-clear.gif \ | |
47 | images/button-continue.gif \ | |
48 | images/button-delete-class.gif \ | |
49 | images/button-delete-printer.gif \ | |
50 | images/button-edit-configuration-file.gif \ | |
51 | images/button-export-samba.gif \ | |
52 | images/button-help.gif \ | |
53 | images/button-hold-job.gif \ | |
54 | images/button-manage-classes.gif \ | |
55 | images/button-manage-jobs.gif \ | |
56 | images/button-manage-printers.gif \ | |
57 | images/button-manage-server.gif \ | |
58 | images/button-modify-class.gif \ | |
59 | images/button-modify-printer.gif \ | |
60 | images/button-move-job.gif \ | |
61 | images/button-move-jobs.gif \ | |
62 | images/button-print-self-test-page.gif \ | |
63 | images/button-print-test-page.gif \ | |
64 | images/button-publish-printer.gif \ | |
65 | images/button-reject-jobs.gif \ | |
66 | images/button-release-job.gif \ | |
67 | images/button-restart-job.gif \ | |
68 | images/button-save-changes.gif \ | |
69 | images/button-search.gif \ | |
70 | images/button-set-allowed-users.gif \ | |
71 | images/button-set-as-default.gif \ | |
72 | images/button-set-printer-options.gif \ | |
73 | images/button-show-active.gif \ | |
74 | images/button-show-all.gif \ | |
75 | images/button-show-completed.gif \ | |
76 | images/button-show-next.gif \ | |
77 | images/button-show-previous.gif \ | |
78 | images/button-sort-ascending.gif \ | |
79 | images/button-sort-descending.gif \ | |
80 | images/button-start-class.gif \ | |
81 | images/button-start-printer.gif \ | |
82 | images/button-stop-class.gif \ | |
83 | images/button-stop-printer.gif \ | |
84 | images/button-unpublish-printer.gif \ | |
85 | images/button-use-default-config.gif \ | |
86 | images/button-view-access-log.gif \ | |
87 | images/button-view-error-log.gif \ | |
88 | images/button-view-page-log.gif \ | |
89 | images/button-view-printable-version.gif | |
bd7854cb | 90 | WEBIMAGES = \ |
bd7854cb | 91 | images/bottom-left.gif \ |
92 | images/bottom-right.gif \ | |
93 | images/classes.gif \ | |
4744bd90 | 94 | images/cups-block-diagram.gif \ |
bd7854cb | 95 | images/esp-logo.gif \ |
96 | images/happy.gif \ | |
97 | images/logo.gif \ | |
98 | images/printer-idle.gif \ | |
99 | images/printer-processing.gif \ | |
100 | images/printer-stopped.gif \ | |
80ca4592 | 101 | images/smiley.jpg \ |
bd7854cb | 102 | images/tab-left.gif \ |
103 | images/tab-right.gif \ | |
104 | images/top-left.gif \ | |
105 | images/top-middle.gif \ | |
4744bd90 | 106 | images/top-right.gif \ |
107 | images/web-add-this-printer.gif \ | |
108 | images/web-password.gif \ | |
109 | images/web-printer-driver.gif \ | |
110 | images/web-printer-status.gif \ | |
111 | images/web-set-printer-options.gif \ | |
112 | images/web-test-page.gif | |
ef416fc2 | 113 | HELPFILES = \ |
ef416fc2 | 114 | help/api-array.html \ |
115 | help/api-cups.html \ | |
116 | help/api-filedir.html \ | |
117 | help/api-filter.html \ | |
118 | help/api-httpipp.html \ | |
119 | help/api-ppd.html \ | |
b423cd4c | 120 | help/api-raster.html \ |
4744bd90 | 121 | help/cgi.html \ |
122 | help/glossary.html \ | |
123 | help/license.html \ | |
ef416fc2 | 124 | help/man-accept.html \ |
125 | help/man-backend.html \ | |
bd7854cb | 126 | help/man-cancel.html \ |
127 | help/man-classes.conf.html \ | |
b423cd4c | 128 | help/man-client.conf.html \ |
ef416fc2 | 129 | help/man-cups-config.html \ |
ef416fc2 | 130 | help/man-cups-lpd.html \ |
131 | help/man-cups-polld.html \ | |
4744bd90 | 132 | help/man-cupsaddsmb.html \ |
133 | help/man-cupsd.conf.html \ | |
134 | help/man-cupsd.html \ | |
135 | help/man-cupsenable.html \ | |
80ca4592 | 136 | help/man-cupstestdsc.html \ |
ef416fc2 | 137 | help/man-cupstestppd.html \ |
138 | help/man-filter.html \ | |
4744bd90 | 139 | help/man-lp.html \ |
ef416fc2 | 140 | help/man-lpadmin.html \ |
141 | help/man-lpc.html \ | |
ef416fc2 | 142 | help/man-lpinfo.html \ |
143 | help/man-lpmove.html \ | |
144 | help/man-lpoptions.html \ | |
145 | help/man-lppasswd.html \ | |
146 | help/man-lpq.html \ | |
147 | help/man-lpr.html \ | |
148 | help/man-lprm.html \ | |
149 | help/man-lpstat.html \ | |
bd7854cb | 150 | help/man-mime.convs.html \ |
151 | help/man-mime.types.html \ | |
152 | help/man-printers.conf.html \ | |
ef416fc2 | 153 | help/network.html \ |
4744bd90 | 154 | help/options.html \ |
ef416fc2 | 155 | help/overview.html \ |
4744bd90 | 156 | help/ref-access_log.html \ |
157 | help/ref-classes-conf.html \ | |
158 | help/ref-client-conf.html \ | |
159 | help/ref-cupsd-conf.html \ | |
160 | help/ref-error_log.html \ | |
161 | help/ref-page_log.html \ | |
162 | help/ref-printers-conf.html \ | |
163 | help/ref-subscriptions-conf.html \ | |
164 | help/security.html \ | |
165 | help/spec-cmp.html \ | |
b423cd4c | 166 | help/spec-command.html \ |
4744bd90 | 167 | help/spec-design.html \ |
fa73b229 | 168 | help/spec-ipp.html \ |
80ca4592 | 169 | help/spec-postscript.html \ |
ef416fc2 | 170 | help/spec-ppd.html \ |
4744bd90 | 171 | help/spec-raster.html \ |
172 | help/spec-stp.html \ | |
ef416fc2 | 173 | help/standard.html \ |
4744bd90 | 174 | help/translation.html \ |
ef416fc2 | 175 | help/whatsnew.html |
176 | ||
177 | ||
178 | # | |
179 | # Make all documents... | |
180 | # | |
181 | ||
182 | all: | |
183 | ||
184 | ||
185 | # | |
186 | # Remove all generated files... | |
187 | # | |
188 | ||
189 | clean: | |
190 | ||
191 | ||
757d2cad | 192 | # |
193 | # Dummy depend target... | |
194 | # | |
195 | ||
196 | depend: | |
197 | ||
198 | ||
ef416fc2 | 199 | # |
200 | # Install all documentation files... | |
201 | # | |
202 | ||
fa73b229 | 203 | install: all |
bd7854cb | 204 | $(INSTALL_DIR) -m 755 $(DOCDIR) |
ef416fc2 | 205 | for file in $(WEBPAGES); do \ |
206 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
207 | done | |
bd7854cb | 208 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help |
ef416fc2 | 209 | for file in $(HELPFILES); do \ |
210 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
211 | done | |
bd7854cb | 212 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images |
213 | for file in $(WEBIMAGES) $(WEBBUTTONS); do \ | |
ef416fc2 | 214 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ |
215 | done | |
bd7854cb | 216 | for lang in $(LANGUAGES); do \ |
217 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \ | |
4744bd90 | 218 | if test -f $$lang/index.html; then \ |
219 | $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \ | |
757d2cad | 220 | fi; \ |
bd7854cb | 221 | for file in $(WEBBUTTONS); do \ |
4744bd90 | 222 | if test -f $$lang/$$file; then \ |
223 | $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \ | |
757d2cad | 224 | fi; \ |
225 | done \ | |
226 | done | |
227 | ||
228 | ||
229 | # | |
230 | # Unnstall all documentation files... | |
231 | # | |
232 | ||
233 | uninstall: | |
234 | for file in $(WEBPAGES); do \ | |
235 | $(RM) $(DOCDIR)/$$file; \ | |
236 | done | |
237 | for file in $(HELPFILES); do \ | |
238 | $(INSTALL_MAN) $(DOCDIR)/help/$$file; \ | |
239 | done | |
240 | for file in $(WEBIMAGES) $(WEBBUTTONS); do \ | |
241 | $(INSTALL_MAN) $(DOCDIR)/images/$$file; \ | |
242 | done | |
243 | -for lang in $(LANGUAGES); do \ | |
244 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
245 | for file in $(WEBBUTTONS); do \ | |
246 | $(RM) $(DOCDIR)/$$lang/images/$$file; \ | |
bd7854cb | 247 | done \ |
757d2cad | 248 | $(RMDIR) $(DOCDIR)/$$lang/images; \ |
249 | $(RMDIR) $(DOCDIR)/$$lang; \ | |
bd7854cb | 250 | done |
757d2cad | 251 | -$(RMDIR) $(DOCDIR)/images |
252 | -$(RMDIR) $(DOCDIR)/help | |
253 | -$(RMDIR) $(DOCDIR) | |
ef416fc2 | 254 | |
255 | ||
256 | # | |
257 | # End of Makefile. | |
258 | # |