]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/Makefile
Update copyright notices, addresses, etc.
[thirdparty/cups.git] / doc / Makefile
CommitLineData
04c3c0a1 1#
c9d3f842 2# "$Id$"
8fc8e7b3 3#
4# Documentation makefile for the Common UNIX Printing System (CUPS).
5#
c9d3f842 6# Copyright 1993-2005 by Easy Software Products.
8fc8e7b3 7#
8# These coded instructions, statements, and computer programs are the
9# property of Easy Software Products and are protected by Federal
10# copyright law. Distribution and use rights are outlined in the file
11# "LICENSE.txt" which should have been included with this file. If this
12# file is missing or damaged please contact Easy Software Products
13# at:
14#
15# Attn: CUPS Licensing Information
16# Easy Software Products
17# 44141 Airport View Drive, Suite 204
c9d3f842 18# Hollywood, Maryland 20636 USA
8fc8e7b3 19#
baee2cec 20# Voice: (301) 373-9600
8fc8e7b3 21# EMail: cups-info@cups.org
22# WWW: http://www.cups.org
04c3c0a1 23#
24
8fc8e7b3 25include ../Makedefs
04c3c0a1 26
8fc8e7b3 27#
28# HTMLDOC generation rules...
29#
30
a052b0da 31.SUFFIXES: .html .pdf .ps .shtml
6a921799 32.shtml.html:
37005c09 33 echo Formatting $@...
9cfa8573 34 $(HTMLDOC) --titleimage images/cups-large.gif --numbered -f $@ $<
6a921799 35.shtml.pdf:
37005c09 36 echo Formatting $@...
9cfa8573 37 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
6a921799 38 --numbered --jpeg -f $@ $<
a052b0da 39.shtml.ps:
40 echo Formatting $@...
9cfa8573 41 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --numbered \
a052b0da 42 --jpeg -f $@ $<
04c3c0a1 43
ae2228ca 44HTMLDOC = htmldoc --strict --quiet --bodycolor white
9cfa8573 45
a3e17a89 46
8fc8e7b3 47#
48# Document files...
49#
04c3c0a1 50
b6c54c5d 51DOCUMENTS = cmp.shtml idd.shtml ipp.shtml ppd.shtml sam.shtml \
52 sdd.shtml spm.shtml sps.shtml ssr.shtml stp.shtml \
53 sum.shtml svd.shtml translation.shtml
3270670b 54DOCIMAGES = images/cups-block-diagram.gif images/cups-large.gif \
55 images/cups-medium.gif images/cups-small.gif
ded143b8 56WEBPAGES = cups.css cupsdoc.css index.html documentation.html \
57 robots.txt
f63a2256 58WEBIMAGES = images/accept-jobs.gif \
59 images/add-class.gif \
60 images/add-printer.gif \
61 images/cancel-job.gif \
62 images/cancel-jobs.gif \
63 images/cancel.gif \
64 images/classes.gif \
3d9e2586 65 images/config-printer.gif \
f63a2256 66 images/continue.gif \
67 images/delete-class.gif \
68 images/delete-printer.gif \
69 images/draft.gif \
70 images/hold-job.gif \
71 images/left.gif \
72 images/logo.gif \
73 images/manage-classes.gif \
74 images/manage-jobs.gif \
75 images/manage-printers.gif \
76 images/modify-class.gif \
77 images/modify-printer.gif \
78 images/navbar.gif \
79 images/print-test-page.gif \
80 images/printer-idle.gif \
81 images/printer-processing.gif \
82 images/printer-stopped.gif \
83 images/reject-jobs.gif \
84 images/release-job.gif \
a13425e0 85 images/restart-job.gif \
f63a2256 86 images/right.gif \
a4f128bd 87 images/set-as-default.gif \
f63a2256 88 images/show-active.gif \
89 images/show-completed.gif \
90 images/start-class.gif \
91 images/start-printer.gif \
92 images/stop-class.gif \
93 images/stop-printer.gif
04c3c0a1 94
a3e17a89 95
8fc8e7b3 96#
97# Make all documents...
98#
99
6a921799 100all: $(DOCUMENTS:.shtml=.pdf) $(DOCUMENTS:.shtml=.html) overview.pdf
8fc8e7b3 101
a3e17a89 102
cd7ca660 103#
104# Make PS files...
105#
106
107ps: $(DOCUMENTS:.shtml=.ps) overview.ps
108
109
8fc8e7b3 110#
111# Remove all generated files...
112#
113
114clean:
6a921799 115 $(RM) $(DOCUMENTS:.shtml=.pdf)
116 $(RM) $(DOCUMENTS:.shtml=.html)
117 $(RM) overview.pdf
8fc8e7b3 118
a3e17a89 119
8fc8e7b3 120#
121# Install all documentation files...
122#
123
124install:
753453e4 125 $(INSTALL_DIR) $(DOCDIR)
126 for file in $(WEBPAGES); do \
127 $(INSTALL_MAN) $$file $(DOCDIR); \
128 done
129 $(INSTALL_MAN) overview.html $(DOCDIR)
130 $(INSTALL_MAN) overview.pdf $(DOCDIR)
131 for file in $(DOCUMENTS:.shtml=.html); do \
132 $(INSTALL_MAN) $$file $(DOCDIR); \
133 done
134 for file in $(DOCUMENTS:.shtml=.pdf); do \
135 $(INSTALL_MAN) $$file $(DOCDIR); \
136 done
137 $(INSTALL_DIR) $(DOCDIR)/images
138 for file in $(WEBIMAGES) $(DOCIMAGES); do \
139 $(INSTALL_MAN) $$file $(DOCDIR)/images; \
140 done
a3e17a89 141
8fc8e7b3 142
143#
902da432 144# The overview, admin manual, programmers manual, and users manual get
145# special attention...
8fc8e7b3 146#
04c3c0a1 147
354eebf3 148overview.pdf: overview.html
37005c09 149 echo Formatting $@...
9cfa8573 150 $(HTMLDOC) --duplex --compression=9 --jpeg --webpage -f overview.pdf overview.html
38138d28 151overview.ps: overview.html
152 echo Formatting $@...
9cfa8573 153 $(HTMLDOC) --duplex --jpeg --webpage -f overview.ps overview.html
04c3c0a1 154
ba8a42d9 155sam.html: sam.shtml
37005c09 156 echo Formatting $@...
9cfa8573 157 $(HTMLDOC) --titleimage images/cups-large.gif -f $@ $<
ba8a42d9 158sam.pdf: sam.shtml
37005c09 159 echo Formatting $@...
9cfa8573 160 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
ba8a42d9 161 --jpeg -f $@ $<
38138d28 162sam.ps: sam.shtml
163 echo Formatting $@...
9cfa8573 164 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --jpeg -f $@ $<
ba8a42d9 165
902da432 166spm.html: spm.shtml
167 echo Formatting $@...
9cfa8573 168 $(HTMLDOC) --titleimage images/cups-large.gif -f $@ $<
902da432 169spm.pdf: spm.shtml
170 echo Formatting $@...
9cfa8573 171 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
902da432 172 --jpeg -f $@ $<
38138d28 173spm.ps: spm.shtml
174 echo Formatting $@...
9cfa8573 175 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --jpeg -f $@ $<
902da432 176
ba8a42d9 177sum.html: sum.shtml
37005c09 178 echo Formatting $@...
9cfa8573 179 $(HTMLDOC) --titleimage images/cups-large.gif -f $@ $<
ba8a42d9 180sum.pdf: sum.shtml
37005c09 181 echo Formatting $@...
9cfa8573 182 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
ba8a42d9 183 --jpeg -f $@ $<
38138d28 184sum.ps: sum.shtml
185 echo Formatting $@...
9cfa8573 186 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --jpeg -f $@ $<
ba8a42d9 187
fd7cc15d 188sam-7x8.pdf: sam.shtml
189 echo Formatting $@...
9cfa8573 190 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
fd7cc15d 191 --pagelayout tworight --pagemode document \
192 --jpeg --size 7x8.5in --left 0.5in --right 0.25in \
193 --top 0.25in --bottom 0.25in --fontsize 10 --headfootsize 10 -f $@ sam.shtml
194sam-7x8.ps: sam.shtml
195 echo Formatting $@...
9cfa8573 196 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --jpeg \
fd7cc15d 197 --size 7x8.5in --left 0.5in --right 0.25in \
198 --top 0.25in --bottom 0.25in --fontsize 10 --headfootsize 10 -f $@ sam.shtml
199spm-7x8.pdf: spm.shtml
200 echo Formatting $@...
9cfa8573 201 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
fd7cc15d 202 --pagelayout tworight --pagemode document \
203 --jpeg --size 7x8.5in --left 0.5in --right 0.25in \
204 --top 0.25in --bottom 0.25in --fontsize 10 --headfootsize 10 -f $@ spm.shtml
205spm-7x8.ps: spm.shtml
206 echo Formatting $@...
9cfa8573 207 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --jpeg \
fd7cc15d 208 --size 7x8.5in --left 0.5in --right 0.25in \
209 --top 0.25in --bottom 0.25in --fontsize 10 --headfootsize 10 -f $@ spm.shtml
210sum-7x8.pdf: sum.shtml
211 echo Formatting $@...
9cfa8573 212 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --compression=9 \
fd7cc15d 213 --pagelayout tworight --pagemode document \
214 --jpeg --size 7x8.5in --left 0.5in --right 0.25in \
215 --top 0.25in --bottom 0.25in --fontsize 10 --headfootsize 10 -f $@ sum.shtml
216sum-7x8.ps: sum.shtml
217 echo Formatting $@...
9cfa8573 218 $(HTMLDOC) --titleimage images/cups-large.gif --duplex --jpeg \
fd7cc15d 219 --size 7x8.5in --left 0.5in --right 0.25in \
220 --top 0.25in --bottom 0.25in --fontsize 10 --headfootsize 10 -f $@ sum.shtml
221
b7da08c2 222$(DOCUMENTS:.shtml=.html): \
223 glossary.shtml printing-overview.shtml \
224 references.shtml system-overview.shtml \
225 ../LICENSE.html
226
227$(DOCUMENTS:.shtml=.pdf): \
228 glossary.shtml printing-overview.shtml \
229 references.shtml system-overview.shtml \
230 ../LICENSE.html
231
232$(DOCUMENTS:.shtml=.ps): \
233 glossary.shtml printing-overview.shtml \
551d3a88 234 references.shtml system-overview.shtml \
235 ../LICENSE.html
236
237
04c3c0a1 238#
239# End of Makefile.
240#