]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/Makefile
ff1f1d249585fd9df55576811e4ba17883892f71
[thirdparty/cups.git] / doc / Makefile
1 #
2 # "$Id$"
3 #
4 # Documentation makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1997-2006 by Easy Software Products.
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
31 WEBPAGES = \
32 cups.css \
33 cups-printable.css \
34 favicon.ico \
35 index.html \
36 robots.txt
37 WEBBUTTONS = \
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 \
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
90 WEBIMAGES = \
91 images/bottom-left.gif \
92 images/bottom-right.gif \
93 images/classes.gif \
94 images/cups-block-diagram.gif \
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 \
101 images/smiley.jpg \
102 images/tab-left.gif \
103 images/tab-right.gif \
104 images/top-left.gif \
105 images/top-middle.gif \
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
113 HELPFILES = \
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 \
120 help/api-raster.html \
121 help/cgi.html \
122 help/glossary.html \
123 help/license.html \
124 help/man-accept.html \
125 help/man-backend.html \
126 help/man-cancel.html \
127 help/man-classes.conf.html \
128 help/man-client.conf.html \
129 help/man-cups-config.html \
130 help/man-cups-lpd.html \
131 help/man-cups-polld.html \
132 help/man-cupsaddsmb.html \
133 help/man-cupsd.conf.html \
134 help/man-cupsd.html \
135 help/man-cupsenable.html \
136 help/man-cupstestdsc.html \
137 help/man-cupstestppd.html \
138 help/man-filter.html \
139 help/man-lp.html \
140 help/man-lpadmin.html \
141 help/man-lpc.html \
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 \
150 help/man-mime.convs.html \
151 help/man-mime.types.html \
152 help/man-printers.conf.html \
153 help/network.html \
154 help/options.html \
155 help/overview.html \
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-snmp-conf.html \
164 help/ref-subscriptions-conf.html \
165 help/security.html \
166 help/spec-cmp.html \
167 help/spec-command.html \
168 help/spec-design.html \
169 help/spec-ipp.html \
170 help/spec-postscript.html \
171 help/spec-ppd.html \
172 help/spec-raster.html \
173 help/spec-stp.html \
174 help/standard.html \
175 help/translation.html \
176 help/whatsnew.html
177
178
179 #
180 # Make all documents...
181 #
182
183 all:
184
185
186 #
187 # Remove all generated files...
188 #
189
190 clean:
191
192
193 #
194 # Dummy depend target...
195 #
196
197 depend:
198
199
200 #
201 # Install all documentation files...
202 #
203
204 install: all $(INSTALL_LANGUAGES)
205 $(INSTALL_DIR) -m 755 $(DOCDIR)
206 for file in $(WEBPAGES); do \
207 $(INSTALL_MAN) $$file $(DOCDIR); \
208 done
209 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
210 for file in $(HELPFILES); do \
211 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
212 done
213 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
214 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
215 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
216 done
217
218 install-languages:
219 for lang in $(LANGUAGES); do \
220 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
221 if test -f $$lang/index.html; then \
222 $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
223 fi; \
224 for file in $(WEBBUTTONS); do \
225 if test -f $$lang/$$file; then \
226 $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \
227 fi; \
228 done \
229 done
230
231
232 #
233 # Unnstall all documentation files...
234 #
235
236 uninstall: $(UNINSTALL_LANGUAGES)
237 for file in $(WEBPAGES); do \
238 $(RM) $(DOCDIR)/$$file; \
239 done
240 for file in $(HELPFILES); do \
241 $(INSTALL_MAN) $(DOCDIR)/help/$$file; \
242 done
243 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
244 $(INSTALL_MAN) $(DOCDIR)/images/$$file; \
245 done
246 -$(RMDIR) $(DOCDIR)/images
247 -$(RMDIR) $(DOCDIR)/help
248 -$(RMDIR) $(DOCDIR)
249
250 uninstall-languages:
251 -for lang in $(LANGUAGES); do \
252 $(RM) $(DOCDIR)/$$lang/index.html; \
253 for file in $(WEBBUTTONS); do \
254 $(RM) $(DOCDIR)/$$lang/images/$$file; \
255 done \
256 $(RMDIR) $(DOCDIR)/$$lang/images; \
257 $(RMDIR) $(DOCDIR)/$$lang; \
258 done
259
260
261 #
262 # End of Makefile.
263 #