]>
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 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 documentation files... | |
144 | # | |
145 | ||
146 | install: all $(INSTALL_LANGUAGES) | |
147 | $(INSTALL_DIR) -m 755 $(DOCDIR) | |
148 | for file in $(WEBPAGES); do \ | |
149 | $(INSTALL_MAN) $$file $(DOCDIR); \ | |
150 | done | |
151 | $(INSTALL_DIR) -m 755 $(DOCDIR)/help | |
152 | for file in $(HELPFILES); do \ | |
153 | $(INSTALL_MAN) $$file $(DOCDIR)/help; \ | |
154 | done | |
155 | $(INSTALL_DIR) -m 755 $(DOCDIR)/images | |
156 | for file in $(WEBIMAGES); do \ | |
157 | $(INSTALL_MAN) $$file $(DOCDIR)/images; \ | |
158 | done | |
159 | ||
160 | install-languages: | |
161 | for lang in $(LANGUAGES); do \ | |
162 | if test -d $$lang; then \ | |
163 | $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \ | |
164 | $(INSTALL_MAN) $$lang/index.html $(DOCDIR)/$$lang 2>/dev/null || true; \ | |
165 | $(INSTALL_MAN) $$lang/cups.css $(DOCDIR)/$$lang 2>/dev/null || true; \ | |
166 | fi; \ | |
167 | done | |
168 | ||
169 | ||
170 | # | |
171 | # Unnstall all documentation files... | |
172 | # | |
173 | ||
174 | uninstall: $(UNINSTALL_LANGUAGES) | |
175 | for file in $(WEBPAGES); do \ | |
176 | $(RM) $(DOCDIR)/$$file; \ | |
177 | done | |
178 | for file in $(HELPFILES); do \ | |
179 | $(INSTALL_MAN) $(DOCDIR)/help/$$file; \ | |
180 | done | |
181 | for file in $(WEBIMAGES); do \ | |
182 | $(INSTALL_MAN) $(DOCDIR)/images/$$file; \ | |
183 | done | |
184 | -$(RMDIR) $(DOCDIR)/images | |
185 | -$(RMDIR) $(DOCDIR)/help | |
186 | -$(RMDIR) $(DOCDIR) | |
187 | ||
188 | uninstall-languages: | |
189 | -for lang in $(LANGUAGES); do \ | |
190 | $(RM) $(DOCDIR)/$$lang/index.html; \ | |
191 | $(RM) $(DOCDIR)/$$lang/cups.css; \ | |
192 | $(RMDIR) $(DOCDIR)/$$lang/images; \ | |
193 | $(RMDIR) $(DOCDIR)/$$lang; \ | |
194 | done | |
195 | ||
196 | ||
197 | # | |
198 | # End of Makefile. | |
199 | # |