aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-07-21 17:35:44 +0200
committerMark Wielaard <mark@klomp.org>2019-07-21 20:10:38 +0200
commit475173c2d021b1bb1d0fe1845c66cf913260c03e (patch)
treeff797e487ad2aa686c178839347615b1af08f1bd /Makefile
parentcb18332a8267bfc671cbfbaba35f89cb3fb676f8 (diff)
downloadbzip2-475173c2d021b1bb1d0fe1845c66cf913260c03e.tar.gz
bzip2-475173c2d021b1bb1d0fe1845c66cf913260c03e.tar.bz2
bzip2-475173c2d021b1bb1d0fe1845c66cf913260c03e.zip
Add generation of bzip2.txt and bzip2.1.preformatted to Makefile.
And remove both pages from the repository since the will now be generated by make dist. Also don't try to update them in prepare-release.sh script.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f8a1772..b0fef95 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @@ bzip2recover.o: bzip2recover.c
135 135
136 136
137distclean: clean 137distclean: clean
138 rm -f manual.ps manual.html manual.pdf 138 rm -f manual.ps manual.html manual.pdf bzip2.txt bzip2.1.preformatted
139 139
140DISTNAME=bzip2-1.0.8 140DISTNAME=bzip2-1.0.8
141dist: check manual 141dist: check manual
@@ -205,7 +205,13 @@ dist: check manual
205MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \ 205MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \
206 entities.xml manual.xml 206 entities.xml manual.xml
207 207
208manual: manual.html manual.ps manual.pdf 208bzip2.txt: bzip2.1
209 MANWIDTH=67 man --ascii ./$^ > $@
210
211bzip2.1.preformatted: bzip2.1
212 MAN_KEEP_FORMATTING=1 MANWIDTH=67 man -E UTF-8 ./$^ > $@
213
214manual: manual.html manual.ps manual.pdf bzip2.txt bzip2.1.preformatted
209 215
210manual.ps: $(MANUAL_SRCS) 216manual.ps: $(MANUAL_SRCS)
211 ./xmlproc.sh -ps manual.xml 217 ./xmlproc.sh -ps manual.xml