]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Merge changes from CUPS 1.4svn-r7386.
[thirdparty/cups.git] / doc / Makefile
CommitLineData
ef416fc2 1#
2e4ff8af 2# "$Id: Makefile 6900 2007-08-30 17:17:51Z mike $"
ef416fc2 3#
4# Documentation makefile for the Common UNIX Printing System (CUPS).
5#
bc44d920 6# Copyright 2007 by Apple Inc.
3d8365b8 7# Copyright 1997-2007 by Easy Software Products.
ef416fc2 8#
9# These coded instructions, statements, and computer programs are the
bc44d920 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/".
ef416fc2 14#
15
16include ../Makedefs
17
18#
19# Document files...
20#
21
4744bd90 22WEBPAGES = \
23 cups.css \
24 cups-printable.css \
2e4ff8af 25 favicon.png \
4744bd90 26 index.html \
27 robots.txt
bd7854cb 28WEBIMAGES = \
2e4ff8af
MS
29 images/classes.png \
30 images/cups.png \
4744bd90 31 images/cups-block-diagram.gif \
2e4ff8af
MS
32 images/cups-icon.png \
33 images/left.gif \
34 images/printer-idle.png \
35 images/printer-processing.png \
36 images/printer-stopped.png \
db1f069b 37 images/raster.png \
2e4ff8af
MS
38 images/right.gif \
39 images/sel.gif \
40 images/shadow.png \
80ca4592 41 images/smiley.jpg \
2e4ff8af
MS
42 images/unsel-hover.gif \
43 images/unsel.gif \
4744bd90 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
ef416fc2 50HELPFILES = \
09a101d6 51 help/accounting.html \
ef416fc2 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 \
5a738aea 57 help/api-overview.html \
ef416fc2 58 help/api-ppd.html \
b423cd4c 59 help/api-raster.html \
4744bd90 60 help/cgi.html \
61 help/glossary.html \
355e94dc 62 help/kerberos.html \
4744bd90 63 help/license.html \
ef416fc2 64 help/man-accept.html \
65 help/man-backend.html \
bd7854cb 66 help/man-cancel.html \
67 help/man-classes.conf.html \
b423cd4c 68 help/man-client.conf.html \
ef416fc2 69 help/man-cups-config.html \
ef416fc2 70 help/man-cups-lpd.html \
71 help/man-cups-polld.html \
4744bd90 72 help/man-cupsaddsmb.html \
73 help/man-cupsd.conf.html \
74 help/man-cupsd.html \
75 help/man-cupsenable.html \
80ca4592 76 help/man-cupstestdsc.html \
ef416fc2 77 help/man-cupstestppd.html \
78 help/man-filter.html \
4744bd90 79 help/man-lp.html \
ef416fc2 80 help/man-lpadmin.html \
81 help/man-lpc.html \
ef416fc2 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 \
bd7854cb 90 help/man-mime.convs.html \
91 help/man-mime.types.html \
92 help/man-printers.conf.html \
ef416fc2 93 help/network.html \
4744bd90 94 help/options.html \
ef416fc2 95 help/overview.html \
8ca02f3c 96 help/policies.html \
4744bd90 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 \
8ca02f3c 102 help/ref-mailto-conf.html \
4744bd90 103 help/ref-page_log.html \
104 help/ref-printers-conf.html \
89d46774 105 help/ref-snmp-conf.html \
4744bd90 106 help/ref-subscriptions-conf.html \
107 help/security.html \
108 help/spec-cmp.html \
b423cd4c 109 help/spec-command.html \
4744bd90 110 help/spec-design.html \
fa73b229 111 help/spec-ipp.html \
f7deaa1a 112 help/spec-postscript.html \
ef416fc2 113 help/spec-ppd.html \
4744bd90 114 help/spec-raster.html \
115 help/spec-stp.html \
ef416fc2 116 help/standard.html \
4744bd90 117 help/translation.html \
ef416fc2 118 help/whatsnew.html
119
120
121#
122# Make all documents...
123#
124
125all:
126
127
128#
129# Remove all generated files...
130#
131
132clean:
133
134
757d2cad 135#
136# Dummy depend target...
137#
138
139depend:
140
141
ef416fc2 142#
143# Install all documentation files...
144#
145
ed486911 146install: all $(INSTALL_LANGUAGES)
bd7854cb 147 $(INSTALL_DIR) -m 755 $(DOCDIR)
ef416fc2 148 for file in $(WEBPAGES); do \
149 $(INSTALL_MAN) $$file $(DOCDIR); \
150 done
bd7854cb 151 $(INSTALL_DIR) -m 755 $(DOCDIR)/help
ef416fc2 152 for file in $(HELPFILES); do \
153 $(INSTALL_MAN) $$file $(DOCDIR)/help; \
154 done
bd7854cb 155 $(INSTALL_DIR) -m 755 $(DOCDIR)/images
2e4ff8af 156 for file in $(WEBIMAGES); do \
ef416fc2 157 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
158 done
ed486911 159
160install-languages:
bd7854cb 161 for lang in $(LANGUAGES); do \
568fa3fa
MS
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; \
c0e1af83 166 fi; \
757d2cad 167 done
168
169
170#
171# Unnstall all documentation files...
172#
173
ed486911 174uninstall: $(UNINSTALL_LANGUAGES)
757d2cad 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
2e4ff8af 181 for file in $(WEBIMAGES); do \
757d2cad 182 $(INSTALL_MAN) $(DOCDIR)/images/$$file; \
183 done
ed486911 184 -$(RMDIR) $(DOCDIR)/images
185 -$(RMDIR) $(DOCDIR)/help
186 -$(RMDIR) $(DOCDIR)
187
188uninstall-languages:
757d2cad 189 -for lang in $(LANGUAGES); do \
190 $(RM) $(DOCDIR)/$$lang/index.html; \
c0e1af83 191 $(RM) $(DOCDIR)/$$lang/cups.css; \
757d2cad 192 $(RMDIR) $(DOCDIR)/$$lang/images; \
193 $(RMDIR) $(DOCDIR)/$$lang; \
bd7854cb 194 done
ef416fc2 195
196
197#
198# End of Makefile.
199#