1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
## Copyright (C) 1996-2025 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##
# requires the linuxdoc tools
if ENABLE_RELEASE_DOCS
DOC= release-$(SQUID_RELEASE)
SUFFIXES= .sgml.in .sgml
.sgml.in.sgml:
sed \
-e "s%[@]SQUID_VERSION[@]%$(VERSION)%g" \
-e "s%[@]SQUID_RELEASE[@]%$(SQUID_RELEASE)%g" \
-e "s%[@]SQUID_RELEASE_OLD[@]%$$(( $(SQUID_RELEASE) - 1 ))%g" \
< $< >$@
test `grep -c "@SQUID" $@` -eq 0
.sgml.txt:
linuxdoc -B txt --filter $<
.sgml.html:
linuxdoc -B html -T 2 --split=0 $<
perl -i -p -e "s%$@%%" $@
cp -p $@ $(top_builddir)/RELEASENOTES.html
.sgml.man:
linuxdoc -B txt --manpage $<
.sgml.info:
linuxdoc -B info $<
dist-hook: $(DOC).html
@if test -f $(builddir)/$(DOC).html; then \
cp -p $(builddir)/$(DOC).html $(top_distdir)/RELEASENOTES.html; \
fi
EXTRA_DIST= $(DOC).html
CLEANFILES= \
*.html \
*.tex *.ps *.dvi *.aux *.log *.toc \
*.txt *.man \
$(top_builddir)/RELEASENOTES.html
endif
|