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