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