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