]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
bc44d920 2# "$Id: Makefile 6649 2007-07-11 21:46:42Z 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 \
45 images/button-help.gif \
46 images/button-hold-job.gif \
3d8365b8 47 images/button-list-available-printers.gif \
4744bd90 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 \
118 help/license.html \
ef416fc2 119 help/man-accept.html \
120 help/man-backend.html \
bd7854cb 121 help/man-cancel.html \
122 help/man-classes.conf.html \
b423cd4c 123 help/man-client.conf.html \
ef416fc2 124 help/man-cups-config.html \
ef416fc2 125 help/man-cups-lpd.html \
126 help/man-cups-polld.html \
4744bd90 127 help/man-cupsaddsmb.html \
128 help/man-cupsd.conf.html \
129 help/man-cupsd.html \
130 help/man-cupsenable.html \
80ca4592 131 help/man-cupstestdsc.html \
ef416fc2 132 help/man-cupstestppd.html \
133 help/man-filter.html \
4744bd90 134 help/man-lp.html \
ef416fc2 135 help/man-lpadmin.html \
136 help/man-lpc.html \
ef416fc2 137 help/man-lpinfo.html \
138 help/man-lpmove.html \
139 help/man-lpoptions.html \
140 help/man-lppasswd.html \
141 help/man-lpq.html \
142 help/man-lpr.html \
143 help/man-lprm.html \
144 help/man-lpstat.html \
bd7854cb 145 help/man-mime.convs.html \
146 help/man-mime.types.html \
147 help/man-printers.conf.html \
ef416fc2 148 help/network.html \
4744bd90 149 help/options.html \
ef416fc2 150 help/overview.html \
8ca02f3c 151 help/policies.html \
4744bd90 152 help/ref-access_log.html \
153 help/ref-classes-conf.html \
154 help/ref-client-conf.html \
155 help/ref-cupsd-conf.html \
156 help/ref-error_log.html \
8ca02f3c 157 help/ref-mailto-conf.html \
4744bd90 158 help/ref-page_log.html \
159 help/ref-printers-conf.html \
89d46774 160 help/ref-snmp-conf.html \
4744bd90 161 help/ref-subscriptions-conf.html \
162 help/security.html \
163 help/spec-cmp.html \
b423cd4c 164 help/spec-command.html \
4744bd90 165 help/spec-design.html \
fa73b229 166 help/spec-ipp.html \
f7deaa1a 167 help/spec-postscript.html \
ef416fc2 168 help/spec-ppd.html \
4744bd90 169 help/spec-raster.html \
170 help/spec-stp.html \
ef416fc2 171 help/standard.html \
4744bd90 172 help/translation.html \
ef416fc2 173 help/whatsnew.html
174
175
176#
177# Make all documents...
178#
179
180all:
181
182
183#
184# Remove all generated files...
185#
186
187clean:
188
189
757d2cad 190#
191# Dummy depend target...
192#
193
194depend:
195
196
ef416fc2 197#
198# Install all documentation files...
199#
200
ed486911 201install: all $(INSTALL_LANGUAGES)
bd7854cb 202 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 203 for file in $(WEBPAGES); do \
204 $(INSTALL_MAN) $$file $(DOCDIR); \
205 done
bd7854cb 206 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 207 for file in $(HELPFILES); do \
208 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
209 done
bd7854cb 210 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
211 for file in $(WEBIMAGES) $(WEBBUTTONS); do \
ef416fc2 212 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
213 done
ed486911 214
215install-languages:
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; \
c0e1af83 221 if test -f $$lang/cups.css; then \
222 $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang; \
223 fi; \
bd7854cb 224 for file in $(WEBBUTTONS); do \
4744bd90 225 if test -f $$lang/$$file; then \
226 $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \
757d2cad 227 fi; \
228 done \
229 done
230
231
232#
233# Unnstall all documentation files...
234#
235
ed486911 236uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 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
ed486911 246 -$(RMDIR) $(DOCDIR)/images
247 -$(RMDIR) $(DOCDIR)/help
248 -$(RMDIR) $(DOCDIR)
249
250uninstall-languages:
757d2cad 251 -for lang in $(LANGUAGES); do \
252 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 253 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 254 for file in $(WEBBUTTONS); do \
255 $(RM) $(DOCDIR)/$$lang/images/$$file; \
bd7854cb 256 done \
757d2cad 257 $(RMDIR) $(DOCDIR)/$$lang/images; \
258 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 259 done
ef416fc2 260
261
262#
263# End of Makefile.
264#