]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
What the heck, make it the full 1.3.3 release code - we've already got all of
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
db1f069b 2# "$Id: Makefile 6824 2007-08-20 22:21:15Z mike $"
ef416fc2 3#
4# Documentation makefile for the Common UNIX Printing System (CUPS).
5#
bc44d920 6# Copyright 2007 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
16include ../Makedefs
17
18#
19# Document files...
20#
21
4744bd90 22WEBPAGES = \
23 cups.css \
24 cups-printable.css \
25 favicon.ico \
26 index.html \
27 robots.txt
bd7854cb 28WEBBUTTONS = \
4744bd90 29 images/button-accept-jobs.gif \
30 images/button-add-class.gif \
31 images/button-add-printer.gif \
3d8365b8 32 images/button-add-rss-subscription.gif \
4744bd90 33 images/button-add-this-printer.gif \
4744bd90 34 images/button-cancel-all-jobs.gif \
35 images/button-cancel-job.gif \
3d8365b8 36 images/button-cancel-subscription.gif \
4744bd90 37 images/button-change-settings.gif \
38 images/button-clean-print-heads.gif \
39 images/button-clear.gif \
40 images/button-continue.gif \
41 images/button-delete-class.gif \
42 images/button-delete-printer.gif \
43 images/button-edit-configuration-file.gif \
44 images/button-export-samba.gif \
355e94dc 45 images/button-find-new-printers.gif \
4744bd90 46 images/button-help.gif \
47 images/button-hold-job.gif \
48 images/button-manage-classes.gif \
49 images/button-manage-jobs.gif \
50 images/button-manage-printers.gif \
51 images/button-manage-server.gif \
52 images/button-modify-class.gif \
53 images/button-modify-printer.gif \
54 images/button-move-job.gif \
55 images/button-move-jobs.gif \
56 images/button-print-self-test-page.gif \
57 images/button-print-test-page.gif \
58 images/button-publish-printer.gif \
59 images/button-reject-jobs.gif \
60 images/button-release-job.gif \
61 images/button-restart-job.gif \
62 images/button-save-changes.gif \
63 images/button-search.gif \
64 images/button-set-allowed-users.gif \
65 images/button-set-as-default.gif \
66 images/button-set-printer-options.gif \
67 images/button-show-active.gif \
68 images/button-show-all.gif \
69 images/button-show-completed.gif \
70 images/button-show-next.gif \
71 images/button-show-previous.gif \
72 images/button-sort-ascending.gif \
73 images/button-sort-descending.gif \
74 images/button-start-class.gif \
75 images/button-start-printer.gif \
76 images/button-stop-class.gif \
77 images/button-stop-printer.gif \
78 images/button-unpublish-printer.gif \
79 images/button-use-default-config.gif \
80 images/button-view-access-log.gif \
81 images/button-view-error-log.gif \
82 images/button-view-page-log.gif \
83 images/button-view-printable-version.gif
bd7854cb 84WEBIMAGES = \
bd7854cb 85 images/bottom-left.gif \
86 images/bottom-right.gif \
87 images/classes.gif \
4744bd90 88 images/cups-block-diagram.gif \
bd7854cb 89 images/esp-logo.gif \
90 images/happy.gif \
91 images/logo.gif \
92 images/printer-idle.gif \
93 images/printer-processing.gif \
94 images/printer-stopped.gif \
db1f069b
MS
95 images/raster.png \
96 images/raster.svg \
80ca4592 97 images/smiley.jpg \
bd7854cb 98 images/tab-left.gif \
99 images/tab-right.gif \
100 images/top-left.gif \
101 images/top-middle.gif \
4744bd90 102 images/top-right.gif \
103 images/web-add-this-printer.gif \
104 images/web-password.gif \
105 images/web-printer-driver.gif \
106 images/web-printer-status.gif \
107 images/web-set-printer-options.gif \
108 images/web-test-page.gif
ef416fc2 109HELPFILES = \
09a101d6 110 help/accounting.html \
ef416fc2 111 help/api-array.html \
112 help/api-cups.html \
113 help/api-filedir.html \
114 help/api-filter.html \
115 help/api-httpipp.html \
116 help/api-ppd.html \
b423cd4c 117 help/api-raster.html \
4744bd90 118 help/cgi.html \
119 help/glossary.html \
355e94dc 120 help/kerberos.html \
4744bd90 121 help/license.html \
ef416fc2 122 help/man-accept.html \
123 help/man-backend.html \
bd7854cb 124 help/man-cancel.html \
125 help/man-classes.conf.html \
b423cd4c 126 help/man-client.conf.html \
ef416fc2 127 help/man-cups-config.html \
ef416fc2 128 help/man-cups-lpd.html \
129 help/man-cups-polld.html \
4744bd90 130 help/man-cupsaddsmb.html \
131 help/man-cupsd.conf.html \
132 help/man-cupsd.html \
133 help/man-cupsenable.html \
80ca4592 134 help/man-cupstestdsc.html \
ef416fc2 135 help/man-cupstestppd.html \
136 help/man-filter.html \
4744bd90 137 help/man-lp.html \
ef416fc2 138 help/man-lpadmin.html \
139 help/man-lpc.html \
ef416fc2 140 help/man-lpinfo.html \
141 help/man-lpmove.html \
142 help/man-lpoptions.html \
143 help/man-lppasswd.html \
144 help/man-lpq.html \
145 help/man-lpr.html \
146 help/man-lprm.html \
147 help/man-lpstat.html \
bd7854cb 148 help/man-mime.convs.html \
149 help/man-mime.types.html \
150 help/man-printers.conf.html \
ef416fc2 151 help/network.html \
4744bd90 152 help/options.html \
ef416fc2 153 help/overview.html \
8ca02f3c 154 help/policies.html \
4744bd90 155 help/ref-access_log.html \
156 help/ref-classes-conf.html \
157 help/ref-client-conf.html \
158 help/ref-cupsd-conf.html \
159 help/ref-error_log.html \
8ca02f3c 160 help/ref-mailto-conf.html \
4744bd90 161 help/ref-page_log.html \
162 help/ref-printers-conf.html \
89d46774 163 help/ref-snmp-conf.html \
4744bd90 164 help/ref-subscriptions-conf.html \
165 help/security.html \
166 help/spec-cmp.html \
b423cd4c 167 help/spec-command.html \
4744bd90 168 help/spec-design.html \
fa73b229 169 help/spec-ipp.html \
f7deaa1a 170 help/spec-postscript.html \
ef416fc2 171 help/spec-ppd.html \
4744bd90 172 help/spec-raster.html \
173 help/spec-stp.html \
ef416fc2 174 help/standard.html \
4744bd90 175 help/translation.html \
ef416fc2 176 help/whatsnew.html
177
178
179#
180# Make all documents...
181#
182
183all:
184
185
186#
187# Remove all generated files...
188#
189
190clean:
191
192
757d2cad 193#
194# Dummy depend target...
195#
196
197depend:
198
199
ef416fc2 200#
201# Install all documentation files...
202#
203
ed486911 204install: all $(INSTALL_LANGUAGES)
bd7854cb 205 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 206 for file in $(WEBPAGES); do \
207 $(INSTALL_MAN) $$file $(DOCDIR); \
208 done
bd7854cb 209 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 210 for file in $(HELPFILES); do \
211 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
212 done
bd7854cb 213 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
214 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
ef416fc2 215 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
216 done
ed486911 217
218install-languages:
bd7854cb 219 for lang in $(LANGUAGES); do \
220 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
4744bd90 221 if test -f $$lang/index.html; then \
222 $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
757d2cad 223 fi; \
c0e1af83 224 if test -f $$lang/cups.css; then \
225 $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \
226 fi; \
bd7854cb 227 for file in $(WEBBUTTONS); do \
4744bd90 228 if test -f $$lang/$$file; then \
229 $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \
757d2cad 230 fi; \
231 done \
232 done
233
234
235#
236# Unnstall all documentation files...
237#
238
ed486911 239uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 240 for file in $(WEBPAGES); do \
241 $(RM) $(DOCDIR)/$$file; \
242 done
243 for file in $(HELPFILES); do \
244 $(INSTALL_MAN) $(DOCDIR)/help/$$file; \
245 done
246 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
247 $(INSTALL_MAN) $(DOCDIR)/images/$$file; \
248 done
ed486911 249 -$(RMDIR) $(DOCDIR)/images
250 -$(RMDIR) $(DOCDIR)/help
251 -$(RMDIR) $(DOCDIR)
252
253uninstall-languages:
757d2cad 254 -for lang in $(LANGUAGES); do \
255 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 256 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 257 for file in $(WEBBUTTONS); do \
258 $(RM) $(DOCDIR)/$$lang/images/$$file; \
bd7854cb 259 done \
757d2cad 260 $(RMDIR) $(DOCDIR)/$$lang/images; \
261 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 262 done
ef416fc2 263
264
265#
266# End of Makefile.
267#