]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Add missing image.
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
b19ccc9e 2# "$Id: Makefile 7941 2008-09-16 00:46:13Z mike $"
ef416fc2 3#
4# Documentation makefile for the Common UNIX Printing System (CUPS).
5#
50fe7201 6# Copyright 2007-2008 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 \
2e4ff8af 25 favicon.png \
4744bd90 26 index.html \
27 robots.txt
bd7854cb 28WEBIMAGES = \
2e4ff8af 29 images/cups.png \
cda47a96 30 images/cups.rgb \
4744bd90 31 images/cups-block-diagram.gif \
2e4ff8af
MS
32 images/cups-icon.png \
33 images/left.gif \
db1f069b 34 images/raster.png \
2e4ff8af
MS
35 images/right.gif \
36 images/sel.gif \
80ca4592 37 images/smiley.jpg \
2e4ff8af 38 images/unsel.gif \
4744bd90 39 images/web-add-this-printer.gif \
40 images/web-password.gif \
41 images/web-printer-driver.gif \
42 images/web-printer-status.gif \
43 images/web-set-printer-options.gif \
44 images/web-test-page.gif
ef416fc2 45HELPFILES = \
09a101d6 46 help/accounting.html \
ef416fc2 47 help/api-array.html \
48 help/api-cups.html \
49 help/api-filedir.html \
50 help/api-filter.html \
51 help/api-httpipp.html \
5a738aea 52 help/api-overview.html \
ef416fc2 53 help/api-ppd.html \
b423cd4c 54 help/api-raster.html \
4744bd90 55 help/cgi.html \
56 help/glossary.html \
355e94dc 57 help/kerberos.html \
4744bd90 58 help/license.html \
49d87452 59 help/man-cupsaccept.html \
ef416fc2 60 help/man-backend.html \
bd7854cb 61 help/man-cancel.html \
62 help/man-classes.conf.html \
b423cd4c 63 help/man-client.conf.html \
ef416fc2 64 help/man-cups-config.html \
ef416fc2 65 help/man-cups-lpd.html \
66 help/man-cups-polld.html \
4744bd90 67 help/man-cupsaddsmb.html \
68 help/man-cupsd.conf.html \
69 help/man-cupsd.html \
70 help/man-cupsenable.html \
80ca4592 71 help/man-cupstestdsc.html \
ef416fc2 72 help/man-cupstestppd.html \
bdd6c45b 73 help/man-drv.html \
ef416fc2 74 help/man-filter.html \
4744bd90 75 help/man-lp.html \
ef416fc2 76 help/man-lpadmin.html \
77 help/man-lpc.html \
ef416fc2 78 help/man-lpinfo.html \
79 help/man-lpmove.html \
80 help/man-lpoptions.html \
81 help/man-lppasswd.html \
82 help/man-lpq.html \
83 help/man-lpr.html \
84 help/man-lprm.html \
85 help/man-lpstat.html \
bd7854cb 86 help/man-mime.convs.html \
87 help/man-mime.types.html \
88 help/man-printers.conf.html \
ef416fc2 89 help/network.html \
4744bd90 90 help/options.html \
ef416fc2 91 help/overview.html \
8ca02f3c 92 help/policies.html \
4744bd90 93 help/ref-access_log.html \
94 help/ref-classes-conf.html \
95 help/ref-client-conf.html \
96 help/ref-cupsd-conf.html \
97 help/ref-error_log.html \
8ca02f3c 98 help/ref-mailto-conf.html \
4744bd90 99 help/ref-page_log.html \
bdd6c45b 100 help/ref-ppdcfile.html \
4744bd90 101 help/ref-printers-conf.html \
89d46774 102 help/ref-snmp-conf.html \
4744bd90 103 help/ref-subscriptions-conf.html \
104 help/security.html \
1f6f3dbc 105 help/spec-banner.html \
b19ccc9e 106 help/spec-browsing.html \
4744bd90 107 help/spec-cmp.html \
b423cd4c 108 help/spec-command.html \
4744bd90 109 help/spec-design.html \
fa73b229 110 help/spec-ipp.html \
f7deaa1a 111 help/spec-postscript.html \
ef416fc2 112 help/spec-ppd.html \
4744bd90 113 help/spec-raster.html \
114 help/spec-stp.html \
ef416fc2 115 help/standard.html \
4744bd90 116 help/translation.html \
ef416fc2 117 help/whatsnew.html
118
119
120#
121# Make all documents...
122#
123
124all:
125
126
c9fc04c6
MS
127#
128# Make library targets...
129#
130
131libs:
132
133
5f64df29
MS
134#
135# Make unit tests...
136#
137
138unittests:
139
140
ef416fc2 141#
142# Remove all generated files...
143#
144
145clean:
146
147
757d2cad 148#
149# Dummy depend target...
150#
151
152depend:
153
154
ef416fc2 155#
50fe7201 156# Install all targets...
ef416fc2 157#
158
50fe7201
MS
159install: all install-data install-headers install-libs install-exec
160
161
162#
163# Install data files...
164#
165
166install-data:
bd7854cb 167 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 168 for file in $(WEBPAGES); do \
169 $(INSTALL_MAN) $$file $(DOCDIR); \
170 done
bd7854cb 171 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 172 for file in $(HELPFILES); do \
173 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
174 done
bd7854cb 175 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
2e4ff8af 176 for file in $(WEBIMAGES); do \
ef416fc2 177 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
178 done
ed486911 179
180install-languages:
bd7854cb 181 for lang in $(LANGUAGES); do \
568fa3fa
MS
182 if test -d $$lang; then \
183 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
50fe7201 184 $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
568fa3fa 185 $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang 2>/dev/null || true; \
50fe7201
MS
186 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
187 for file in $(WEBIMAGES); do \
188 $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images 2>/dev/null || true; \
189 done; \
c0e1af83 190 fi; \
757d2cad 191 done
192
193
50fe7201
MS
194#
195# Install programs...
196#
197
198install-exec:
199
200
201#
202# Install headers...
203#
204
205install-headers:
206
207
208#
209# Install libraries...
210#
211
212install-libs:
213
214
757d2cad 215#
216# Unnstall all documentation files...
217#
218
ed486911 219uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 220 for file in $(WEBPAGES); do \
221 $(RM) $(DOCDIR)/$$file; \
222 done
223 for file in $(HELPFILES); do \
50fe7201 224 $(RM) $(DOCDIR)/$$file; \
757d2cad 225 done
2e4ff8af 226 for file in $(WEBIMAGES); do \
50fe7201 227 $(RM) $(DOCDIR)/$$file; \
757d2cad 228 done
ed486911 229 -$(RMDIR) $(DOCDIR)/images
230 -$(RMDIR) $(DOCDIR)/help
231 -$(RMDIR) $(DOCDIR)
232
233uninstall-languages:
757d2cad 234 -for lang in $(LANGUAGES); do \
235 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 236 $(RM) $(DOCDIR)/$$lang/cups.css; \
50fe7201
MS
237 for file in $(WEBIMAGES); do \
238 $(RM) $(DOCDIR)/$$lang/$$file; \
239 done; \
757d2cad 240 $(RMDIR) $(DOCDIR)/$$lang/images; \
241 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 242 done
ef416fc2 243
244
245#
246# End of Makefile.
247#