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