From 475173c2d021b1bb1d0fe1845c66cf913260c03e Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 21 Jul 2019 17:35:44 +0200 Subject: 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. --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f8a1772..b0fef95 100644 --- a/Makefile +++ b/Makefile @@ -135,7 +135,7 @@ bzip2recover.o: bzip2recover.c distclean: clean - rm -f manual.ps manual.html manual.pdf + rm -f manual.ps manual.html manual.pdf bzip2.txt bzip2.1.preformatted DISTNAME=bzip2-1.0.8 dist: check manual @@ -205,7 +205,13 @@ dist: check manual MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \ entities.xml manual.xml -manual: manual.html manual.ps manual.pdf +bzip2.txt: bzip2.1 + MANWIDTH=67 man --ascii ./$^ > $@ + +bzip2.1.preformatted: bzip2.1 + MAN_KEEP_FORMATTING=1 MANWIDTH=67 man -E UTF-8 ./$^ > $@ + +manual: manual.html manual.ps manual.pdf bzip2.txt bzip2.1.preformatted manual.ps: $(MANUAL_SRCS) ./xmlproc.sh -ps manual.xml -- cgit v1.2.3-55-g6feb