]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/Makefile
Merge changes from CUPS 1.4svn-r8252.
[thirdparty/cups.git] / doc / Makefile
1 #
2 # "$Id: Makefile 7941 2008-09-16 00:46:13Z mike $"
3 #
4 # Documentation makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 1997-2007 by Easy Software Products.
8 #
9 # These coded instructions, statements, and computer programs are the
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/".
14 #
15
16 include ../Makedefs
17
18 #
19 # Document files...
20 #
21
22 WEBPAGES = \
23 cups.css \
24 cups-printable.css \
25 favicon.png \
26 index.html \
27 robots.txt
28 WEBIMAGES = \
29 images/color-wheel.png \
30 images/cups.png \
31 images/cups-block-diagram.gif \
32 images/cups-command-chain.png \
33 images/cups-icon.png \
34 images/cups-postscript-chain.png \
35 images/cups-raster-chain.png \
36 images/left.gif \
37 images/raster.png \
38 images/right.gif \
39 images/sel.gif \
40 images/smiley.jpg \
41 images/unsel.gif \
42 images/wait.gif
43 HELPFILES = \
44 help/accounting.html \
45 help/api-array.html \
46 help/api-cups.html \
47 help/api-filedir.html \
48 help/api-filter.html \
49 help/api-httpipp.html \
50 help/api-overview.html \
51 help/api-ppd.html \
52 help/api-raster.html \
53 help/cgi.html \
54 help/glossary.html \
55 help/kerberos.html \
56 help/license.html \
57 help/man-cupsaccept.html \
58 help/man-backend.html \
59 help/man-cancel.html \
60 help/man-cups-config.html \
61 help/man-cups-lpd.html \
62 help/man-cups-polld.html \
63 help/man-cupsaddsmb.html \
64 help/man-cupsd.html \
65 help/man-cupsenable.html \
66 help/man-cupstestdsc.html \
67 help/man-cupstestppd.html \
68 help/man-drv.html \
69 help/man-filter.html \
70 help/man-lp.html \
71 help/man-lpadmin.html \
72 help/man-lpc.html \
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 \
81 help/man-mime.convs.html \
82 help/man-mime.types.html \
83 help/man-ppdc.html \
84 help/man-ppdhtml.html \
85 help/man-ppdi.html \
86 help/man-ppdmerge.html \
87 help/man-ppdpo.html \
88 help/network.html \
89 help/options.html \
90 help/overview.html \
91 help/policies.html \
92 help/postscript-driver.html \
93 help/ppd-compiler.html \
94 help/raster-driver.html \
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 \
100 help/ref-mailto-conf.html \
101 help/ref-page_log.html \
102 help/ref-ppdcfile.html \
103 help/ref-printers-conf.html \
104 help/ref-snmp-conf.html \
105 help/ref-subscriptions-conf.html \
106 help/security.html \
107 help/sharing.html \
108 help/spec-banner.html \
109 help/spec-browsing.html \
110 help/spec-cmp.html \
111 help/spec-command.html \
112 help/spec-design.html \
113 help/spec-ipp.html \
114 help/spec-postscript.html \
115 help/spec-ppd.html \
116 help/spec-raster.html \
117 help/spec-stp.html \
118 help/standard.html \
119 help/translation.html \
120 help/whatsnew.html
121
122
123 #
124 # Make all documents...
125 #
126
127 all:
128
129
130 #
131 # Make library targets...
132 #
133
134 libs:
135
136
137 #
138 # Make unit tests...
139 #
140
141 unittests:
142
143
144 #
145 # Remove all generated files...
146 #
147
148 clean:
149
150
151 #
152 # Dummy depend target...
153 #
154
155 depend:
156
157
158 #
159 # Install all targets...
160 #
161
162 install: all install-data install-headers install-libs install-exec
163
164
165 #
166 # Install data files...
167 #
168
169 install-data: $(INSTALL_LANGUAGES)
170 $(INSTALL_DIR) -m 755 $(DOCDIR)
171 for file in $(WEBPAGES); do \
172 $(INSTALL_MAN) $$file $(DOCDIR); \
173 done
174 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
175 for file in $(HELPFILES); do \
176 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
177 done
178 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
179 for file in $(WEBIMAGES); do \
180 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
181 done
182
183 install-languages:
184 for lang in $(LANGUAGES); do \
185 if test -d $$lang; then \
186 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
187 $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \
188 $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang 2>/dev/null || true; \
189 fi; \
190 done
191
192
193 #
194 # Install programs...
195 #
196
197 install-exec:
198
199
200 #
201 # Install headers...
202 #
203
204 install-headers:
205
206
207 #
208 # Install libraries...
209 #
210
211 install-libs:
212
213
214 #
215 # Uninstall all documentation files...
216 #
217
218 uninstall: $(UNINSTALL_LANGUAGES)
219 for file in $(WEBPAGES); do \
220 $(RM) $(DOCDIR)/$$file; \
221 done
222 for file in $(HELPFILES); do \
223 $(RM) $(DOCDIR)/$$file; \
224 done
225 for file in $(WEBIMAGES); do \
226 $(RM) $(DOCDIR)/$$file; \
227 done
228 -$(RMDIR) $(DOCDIR)/images
229 -$(RMDIR) $(DOCDIR)/help
230 -$(RMDIR) $(DOCDIR)
231
232 uninstall-languages:
233 -for lang in $(LANGUAGES); do \
234 $(RM) $(DOCDIR)/$$lang/index.html; \
235 $(RM) $(DOCDIR)/$$lang/cups.css; \
236 $(RMDIR) $(DOCDIR)/$$lang; \
237 done
238
239
240 #
241 # End of Makefile.
242 #