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