]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/Makefile
Make ippserver sample code a supported program called "ippeveprinter", which
[thirdparty/cups.git] / doc / Makefile
1 #
2 # Documentation makefile for CUPS.
3 #
4 # Copyright © 2007-2019 by Apple Inc.
5 # Copyright © 1997-2007 by Easy Software Products.
6 #
7 # Licensed under Apache License v2.0. See the file "LICENSE" for more
8 #s information.
9 #
10
11 include ../Makedefs
12
13 #
14 # Document files...
15 #
16
17 WEBPAGES = \
18 apple-touch-icon.png \
19 cups.css \
20 cups-printable.css \
21 index.html \
22 robots.txt
23 WEBIMAGES = \
24 images/color-wheel.png \
25 images/cups.png \
26 images/cups-icon.png \
27 images/generic.png \
28 images/left.gif \
29 images/right.gif \
30 images/sel.gif \
31 images/unsel.gif \
32 images/wait.gif
33 HELPIMAGES = \
34 images/cups-block-diagram.png \
35 images/cups-command-chain.png \
36 images/cups-postscript-chain.png \
37 images/cups-raster-chain.png \
38 images/raster.png \
39 images/raster-organization.png \
40 images/sample-image.png \
41 images/smiley.jpg
42 HELPFILES = \
43 help/accounting.html \
44 help/admin.html \
45 help/api-admin.html \
46 help/api-filter.html \
47 help/api-ppd.html \
48 help/api-raster.html \
49 help/cgi.html \
50 help/cupspm.html \
51 help/encryption.html \
52 help/firewalls.html \
53 help/glossary.html \
54 help/kerberos.html \
55 help/license.html \
56 help/man-backend.html \
57 help/man-cancel.html \
58 help/man-classes.conf.html \
59 help/man-client.conf.html \
60 help/man-cups.html \
61 help/man-cups-config.html \
62 help/man-cups-files.conf.html \
63 help/man-cups-lpd.html \
64 help/man-cups-snmp.html \
65 help/man-cupsaccept.html \
66 help/man-cupsd.conf.html \
67 help/man-cupsd.html \
68 help/man-cupsd-helper.html \
69 help/man-cupsd-logs.html \
70 help/man-cupsenable.html \
71 help/man-cupstestppd.html \
72 help/man-filter.html \
73 help/man-ippeveprinter.html \
74 help/man-ipptool.html \
75 help/man-ipptoolfile.html \
76 help/man-lp.html \
77 help/man-lpadmin.html \
78 help/man-lpc.html \
79 help/man-lpinfo.html \
80 help/man-lpmove.html \
81 help/man-lpoptions.html \
82 help/man-lpq.html \
83 help/man-lpr.html \
84 help/man-lprm.html \
85 help/man-lpstat.html \
86 help/man-mime.convs.html \
87 help/man-mime.types.html \
88 help/man-notifier.html \
89 help/man-ppdc.html \
90 help/man-ppdhtml.html \
91 help/man-ppdi.html \
92 help/man-ppdmerge.html \
93 help/man-ppdpo.html \
94 help/man-printers.conf.html \
95 help/man-subscriptions.conf.html \
96 help/network.html \
97 help/options.html \
98 help/overview.html \
99 help/policies.html \
100 help/postscript-driver.html \
101 help/ppd-compiler.html \
102 help/raster-driver.html \
103 help/ref-ppdcfile.html \
104 help/security.html \
105 help/sharing.html \
106 help/spec-banner.html \
107 help/spec-command.html \
108 help/spec-design.html \
109 help/spec-ipp.html \
110 help/spec-ppd.html \
111 help/spec-raster.html \
112 help/spec-stp.html \
113 help/translation.html
114
115
116 #
117 # Make all documents...
118 #
119
120 all:
121
122
123 #
124 # Make library targets...
125 #
126
127 libs:
128
129
130 #
131 # Make unit tests...
132 #
133
134 unittests:
135
136
137 #
138 # Remove all generated files...
139 #
140
141 clean:
142
143
144 #
145 # Dummy depend target...
146 #
147
148 depend:
149
150
151 #
152 # Install all targets...
153 #
154
155 install: all install-data install-headers install-libs install-exec
156
157
158 #
159 # Install data files...
160 #
161
162 install-data: $(INSTALL_LANGUAGES)
163 $(INSTALL_DIR) -m 755 $(DOCDIR)
164 for file in $(WEBPAGES); do \
165 $(INSTALL_MAN) $$file $(DOCDIR); \
166 done
167 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
168 for file in $(HELPFILES); do \
169 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
170 done
171 if test "x$(IPPFIND_MAN)" != x; then \
172 $(INSTALL_MAN) man-ippfind.html $(DOCDIR)/help; \
173 done
174 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
175 for file in $(WEBIMAGES) $(HELPIMAGES); do \
176 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
177 done
178
179 install-languages:
180 for lang in $(LANGUAGES); do \
181 if test -d $$lang; then \
182 $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \
183 $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \
184 $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \
185 fi; \
186 done
187
188 install-langbundle:
189
190
191 #
192 # Install programs...
193 #
194
195 install-exec:
196
197
198 #
199 # Install headers...
200 #
201
202 install-headers:
203
204
205 #
206 # Install libraries...
207 #
208
209 install-libs:
210
211
212 #
213 # Uninstall all documentation files...
214 #
215
216 uninstall: $(UNINSTALL_LANGUAGES)
217 for file in $(WEBPAGES); do \
218 $(RM) $(DOCDIR)/$$file; \
219 done
220 for file in $(HELPFILES); do \
221 $(RM) $(DOCDIR)/help/$$file; \
222 done
223 if test "x$(IPPFIND_MAN)" != x; then \
224 $(RM) $(DOCDIR)/help/man-ippfind.html; \
225 done
226 for file in $(WEBIMAGES); do \
227 $(RM) $(DOCDIR)/images/$$file; \
228 done
229 -$(RMDIR) $(DOCDIR)/images
230 -$(RMDIR) $(DOCDIR)/help
231 -$(RMDIR) $(DOCDIR)
232
233 uninstall-languages:
234 -for lang in $(LANGUAGES); do \
235 $(RM) $(DOCDIR)/$$lang/index.html; \
236 $(RM) $(DOCDIR)/$$lang/cups.css; \
237 $(RMDIR) $(DOCDIR)/$$lang; \
238 done
239
240 install-langbundle:
241
242
243 #
244 # Install the docset bits locally...
245 #
246
247 docset:
248 cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help
249 cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation
250 cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images