diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -135,7 +135,7 @@ bzip2recover.o: bzip2recover.c | |||
| 135 | 135 | ||
| 136 | 136 | ||
| 137 | distclean: clean | 137 | distclean: 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 | ||
| 140 | DISTNAME=bzip2-1.0.8 | 140 | DISTNAME=bzip2-1.0.8 |
| 141 | dist: check manual | 141 | dist: check manual |
| @@ -205,7 +205,13 @@ dist: check manual | |||
| 205 | MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \ | 205 | MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \ |
| 206 | entities.xml manual.xml | 206 | entities.xml manual.xml |
| 207 | 207 | ||
| 208 | manual: manual.html manual.ps manual.pdf | 208 | bzip2.txt: bzip2.1 |
| 209 | MANWIDTH=67 man --ascii ./$^ > $@ | ||
| 210 | |||
| 211 | bzip2.1.preformatted: bzip2.1 | ||
| 212 | MAN_KEEP_FORMATTING=1 MANWIDTH=67 man -E UTF-8 ./$^ > $@ | ||
| 213 | |||
| 214 | manual: manual.html manual.ps manual.pdf bzip2.txt bzip2.1.preformatted | ||
| 209 | 215 | ||
| 210 | manual.ps: $(MANUAL_SRCS) | 216 | manual.ps: $(MANUAL_SRCS) |
| 211 | ./xmlproc.sh -ps manual.xml | 217 | ./xmlproc.sh -ps manual.xml |
