]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Merge changes from r6781 to r6792 (CUPS 1.3.0)
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
355e94dc 2# "$Id: Makefile 6733 2007-07-26 18:09:46Z 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 \
80ca4592 95 images/smiley.jpg \
bd7854cb 96 images/tab-left.gif \
97 images/tab-right.gif \
98 images/top-left.gif \
99 images/top-middle.gif \
4744bd90 100 images/top-right.gif \
101 images/web-add-this-printer.gif \
102 images/web-password.gif \
103 images/web-printer-driver.gif \
104 images/web-printer-status.gif \
105 images/web-set-printer-options.gif \
106 images/web-test-page.gif
ef416fc2 107HELPFILES = \
09a101d6 108 help/accounting.html \
ef416fc2 109 help/api-array.html \
110 help/api-cups.html \
111 help/api-filedir.html \
112 help/api-filter.html \
113 help/api-httpipp.html \
114 help/api-ppd.html \
b423cd4c 115 help/api-raster.html \
4744bd90 116 help/cgi.html \
117 help/glossary.html \
355e94dc 118 help/kerberos.html \
4744bd90 119 help/license.html \
ef416fc2 120 help/man-accept.html \
121 help/man-backend.html \
bd7854cb 122 help/man-cancel.html \
123 help/man-classes.conf.html \
b423cd4c 124 help/man-client.conf.html \
ef416fc2 125 help/man-cups-config.html \
ef416fc2 126 help/man-cups-lpd.html \
127 help/man-cups-polld.html \
4744bd90 128 help/man-cupsaddsmb.html \
129 help/man-cupsd.conf.html \
130 help/man-cupsd.html \
131 help/man-cupsenable.html \
80ca4592 132 help/man-cupstestdsc.html \
ef416fc2 133 help/man-cupstestppd.html \
134 help/man-filter.html \
4744bd90 135 help/man-lp.html \
ef416fc2 136 help/man-lpadmin.html \
137 help/man-lpc.html \
ef416fc2 138 help/man-lpinfo.html \
139 help/man-lpmove.html \
140 help/man-lpoptions.html \
141 help/man-lppasswd.html \
142 help/man-lpq.html \
143 help/man-lpr.html \
144 help/man-lprm.html \
145 help/man-lpstat.html \
bd7854cb 146 help/man-mime.convs.html \
147 help/man-mime.types.html \
148 help/man-printers.conf.html \
ef416fc2 149 help/network.html \
4744bd90 150 help/options.html \
ef416fc2 151 help/overview.html \
8ca02f3c 152 help/policies.html \
4744bd90 153 help/ref-access_log.html \
154 help/ref-classes-conf.html \
155 help/ref-client-conf.html \
156 help/ref-cupsd-conf.html \
157 help/ref-error_log.html \
8ca02f3c 158 help/ref-mailto-conf.html \
4744bd90 159 help/ref-page_log.html \
160 help/ref-printers-conf.html \
89d46774 161 help/ref-snmp-conf.html \
4744bd90 162 help/ref-subscriptions-conf.html \
163 help/security.html \
164 help/spec-cmp.html \
b423cd4c 165 help/spec-command.html \
4744bd90 166 help/spec-design.html \
fa73b229 167 help/spec-ipp.html \
f7deaa1a 168 help/spec-postscript.html \
ef416fc2 169 help/spec-ppd.html \
4744bd90 170 help/spec-raster.html \
171 help/spec-stp.html \
ef416fc2 172 help/standard.html \
4744bd90 173 help/translation.html \
ef416fc2 174 help/whatsnew.html
175
176
177#
178# Make all documents...
179#
180
181all:
182
183
184#
185# Remove all generated files...
186#
187
188clean:
189
190
757d2cad 191#
192# Dummy depend target...
193#
194
195depend:
196
197
ef416fc2 198#
199# Install all documentation files...
200#
201
ed486911 202install: all $(INSTALL_LANGUAGES)
bd7854cb 203 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 204 for file in $(WEBPAGES); do \
205 $(INSTALL_MAN) $$file $(DOCDIR); \
206 done
bd7854cb 207 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 208 for file in $(HELPFILES); do \
209 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
210 done
bd7854cb 211 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
212 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
ef416fc2 213 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
214 done
ed486911 215
216install-languages:
bd7854cb 217 for lang in $(LANGUAGES); do \
218 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
4744bd90 219 if test -f $$lang/index.html; then \
220 $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
757d2cad 221 fi; \
c0e1af83 222 if test -f $$lang/cups.css; then \
223 $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \
224 fi; \
bd7854cb 225 for file in $(WEBBUTTONS); do \
4744bd90 226 if test -f $$lang/$$file; then \
227 $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \
757d2cad 228 fi; \
229 done \
230 done
231
232
233#
234# Unnstall all documentation files...
235#
236
ed486911 237uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 238 for file in $(WEBPAGES); do \
239 $(RM) $(DOCDIR)/$$file; \
240 done
241 for file in $(HELPFILES); do \
242 $(INSTALL_MAN) $(DOCDIR)/help/$$file; \
243 done
244 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
245 $(INSTALL_MAN) $(DOCDIR)/images/$$file; \
246 done
ed486911 247 -$(RMDIR) $(DOCDIR)/images
248 -$(RMDIR) $(DOCDIR)/help
249 -$(RMDIR) $(DOCDIR)
250
251uninstall-languages:
757d2cad 252 -for lang in $(LANGUAGES); do \
253 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 254 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 255 for file in $(WEBBUTTONS); do \
256 $(RM) $(DOCDIR)/$$lang/images/$$file; \
bd7854cb 257 done \
757d2cad 258 $(RMDIR) $(DOCDIR)/$$lang/images; \
259 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 260 done
ef416fc2 261
262
263#
264# End of Makefile.
265#