]>
Commit | Line | Data |
---|---|---|
4ac4a490 | 1 | ## Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
8ef1f381 AJ |
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 | ||
86b8d400 AJ |
8 | # requires the linuxdoc tools |
9 | if ENABLE_RELEASE_DOCS | |
a222a7e4 | 10 | |
aee44ee6 | 11 | DOC= release-5 |
8fbcd8f7 | 12 | |
1c0b6c96 | 13 | %.ps: %.sgml |
a222a7e4 | 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 | ||
a3445c6a | 22 | %.txt: %.sgml |
23 | linuxdoc -B txt --filter $< | |
a222a7e4 | 24 | |
65f2789a | 25 | %.html: %.sgml |
6a171502 | 26 | linuxdoc -B html -T 2 --split=0 $< |
65f2789a | 27 | perl -i -p -e "s%$@%%" $@ |
7c6b1842 | 28 | cp -p $@ $(top_builddir)/RELEASENOTES.html |
a222a7e4 | 29 | |
a3445c6a | 30 | %.man: %.sgml |
6a171502 | 31 | linuxdoc -B txt -T 2 -m $(DOC) |
a222a7e4 | 32 | |
1c0b6c96 AJ |
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 | |
86b8d400 AJ |
39 | |
40 | CLEANFILES= \ | |
41 | *.html \ | |
42 | *.tex *.ps *.dvi *.aux *.log *.toc \ | |
43 | *.txt *.man \ | |
44 | $(top_builddir)/RELEASENOTES.html | |
45 | ||
46 | endif |