]> git.ipfire.org Git - thirdparty/squid.git/blob - doc/release-notes/Makefile.am
Source Format Enforcement (#1234)
[thirdparty/squid.git] / doc / release-notes / Makefile.am
1 ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6 ##
7
8 # requires the linuxdoc tools
9 if ENABLE_RELEASE_DOCS
10
11 DOC= release-6
12
13 %.ps: %.sgml
14 linuxdoc -B latex -o ps $(DOC)
15
16 #$(DOC).dvi: $(DOC).tex
17 # latex $(DOC).tex
18 # latex $(DOC).tex
19 # latex $(DOC).tex
20 #
21
22 %.txt: %.sgml
23 linuxdoc -B txt --filter $<
24
25 %.html: %.sgml
26 linuxdoc -B html -T 2 --split=0 $<
27 perl -i -p -e "s%$@%%" $@
28 cp -p $@ $(top_builddir)/RELEASENOTES.html
29
30 %.man: %.sgml
31 linuxdoc -B txt -T 2 -m $(DOC)
32
33 dist-hook: $(DOC).html
34 @if test -f $(builddir)/$(DOC).html; then \
35 cp -p $(builddir)/$(DOC).html $(top_distdir)/RELEASENOTES.html; \
36 fi
37
38 EXTRA_DIST= $(DOC).html
39
40 CLEANFILES= \
41 *.html \
42 *.tex *.ps *.dvi *.aux *.log *.toc \
43 *.txt *.man \
44 $(top_builddir)/RELEASENOTES.html
45
46 endif