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