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