]>
Commit | Line | Data |
---|---|---|
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/smiley.jpg \ | |
41 | images/unsel.gif \ | |
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 | |
48 | HELPFILES = \ | |
49 | help/accounting.html \ | |
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 \ | |
55 | help/api-overview.html \ | |
56 | help/api-ppd.html \ | |
57 | help/api-raster.html \ | |
58 | help/cgi.html \ | |
59 | help/glossary.html \ | |
60 | help/kerberos.html \ | |
61 | help/license.html \ | |
62 | help/man-accept.html \ | |
63 | help/man-backend.html \ | |
64 | help/man-cancel.html \ | |
65 | help/man-classes.conf.html \ | |
66 | help/man-client.conf.html \ | |
67 | help/man-cups-config.html \ | |
68 | help/man-cups-lpd.html \ | |
69 | help/man-cups-polld.html \ | |
70 | help/man-cupsaddsmb.html \ | |
71 | help/man-cupsd.conf.html \ | |
72 | help/man-cupsd.html \ | |
73 | help/man-cupsenable.html \ | |
74 | help/man-cupstestdsc.html \ | |
75 | help/man-cupstestppd.html \ | |
76 | help/man-filter.html \ | |
77 | help/man-lp.html \ | |
78 | help/man-lpadmin.html \ | |
79 | help/man-lpc.html \ | |
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 \ | |
88 | help/man-mime.convs.html \ | |
89 | help/man-mime.types.html \ | |
90 | help/man-printers.conf.html \ | |
91 | help/network.html \ | |
92 | help/options.html \ | |
93 | help/overview.html \ | |
94 | help/policies.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-printers-conf.html \ | |
103 | help/ref-snmp-conf.html \ | |
104 | help/ref-subscriptions-conf.html \ | |
105 | help/security.html \ | |
106 | help/spec-cmp.html \ | |
107 | help/spec-command.html \ | |
108 | help/spec-design.html \ | |
109 | help/spec-ipp.html \ | |
110 | help/spec-postscript.html \ | |
111 | help/spec-ppd.html \ | |
112 | help/spec-raster.html \ | |
113 | help/spec-stp.html \ | |
114 | help/standard.html \ | |
115 | help/translation.html \ | |
116 | help/whatsnew.html | |
117 | ||
118 | ||
119 | # | |
120 | # Make all documents... | |
121 | # | |
122 | ||
123 | all: | |
124 | ||
125 | ||
126 | # | |
127 | # Make library targets... | |
128 | # | |
129 | ||
130 | libs: | |
131 | ||
132 | ||
133 | # | |
134 | # Remove all generated files... | |
135 | # | |
136 | ||
137 | clean: | |
138 | ||
139 | ||
140 | # | |
141 | # Dummy depend target... | |
142 | # | |
143 | ||
144 | depend: | |
145 | ||
146 | ||
147 | # | |
148 | # Install all targets... | |
149 | # | |
150 | ||
151 | install: all install-data install-headers install-libs install-exec | |
152 | ||
153 | ||
154 | # | |
155 | # Install data files... | |
156 | # | |
157 | ||
158 | install-data: | |
159 | $(INSTALL_DIR) -m 755 $(DOCDIR) | |
160 | for file in $(WEBPAGES); do \ | |
161 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
162 | done | |
163 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help | |
164 | for file in $(HELPFILES); do \ | |
165 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
166 | done | |
167 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images | |
168 | for file in $(WEBIMAGES); do \ | |
169 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ | |
170 | done | |
171 | ||
172 | install-languages: | |
173 | for lang in $(LANGUAGES); do \ | |
174 | if test -d $$lang; then \ | |
175 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \ | |
176 | $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang; \ | |
177 | $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang 2>/dev/null || true; \ | |
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; \ | |
182 | fi; \ | |
183 | done | |
184 | ||
185 | ||
186 | # | |
187 | # Install programs... | |
188 | # | |
189 | ||
190 | install-exec: | |
191 | ||
192 | ||
193 | # | |
194 | # Install headers... | |
195 | # | |
196 | ||
197 | install-headers: | |
198 | ||
199 | ||
200 | # | |
201 | # Install libraries... | |
202 | # | |
203 | ||
204 | install-libs: | |
205 | ||
206 | ||
207 | # | |
208 | # Unnstall all documentation files... | |
209 | # | |
210 | ||
211 | uninstall: $(UNINSTALL_LANGUAGES) | |
212 | for file in $(WEBPAGES); do \ | |
213 | $(RM) $(DOCDIR)/$$file; \ | |
214 | done | |
215 | for file in $(HELPFILES); do \ | |
216 | $(RM) $(DOCDIR)/$$file; \ | |
217 | done | |
218 | for file in $(WEBIMAGES); do \ | |
219 | $(RM) $(DOCDIR)/$$file; \ | |
220 | done | |
221 | -$(RMDIR) $(DOCDIR)/images | |
222 | -$(RMDIR) $(DOCDIR)/help | |
223 | -$(RMDIR) $(DOCDIR) | |
224 | ||
225 | uninstall-languages: | |
226 | -for lang in $(LANGUAGES); do \ | |
227 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
228 | $(RM) $(DOCDIR)/$$lang/cups.css; \ | |
229 | for file in $(WEBIMAGES); do \ | |
230 | $(RM) $(DOCDIR)/$$lang/$$file; \ | |
231 | done; \ | |
232 | $(RMDIR) $(DOCDIR)/$$lang/images; \ | |
233 | $(RMDIR) $(DOCDIR)/$$lang; \ | |
234 | done | |
235 | ||
236 | ||
237 | # | |
238 | # End of Makefile. | |
239 | # |