From c2fe43361f876c681a6ab553705fec6d62323c22 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Wed, 8 Jan 2014 16:00:40 +0100 Subject: Switch PDF manual generation to rst2pdf This finally gets rid of the LaTeX dependency. We should actually be using docultils directly here, but I didn't do this because of all the potential Python 2/3 breakage. --- old-makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'old-makefile') diff --git a/old-makefile b/old-makefile index 23bb62140a..05f1f7d4a7 100644 --- a/old-makefile +++ b/old-makefile @@ -373,11 +373,8 @@ endif all: $(ALL_TARGETS) -%.tex: %.rst - $(RST2LATEX) --config=DOCS/man/docutils.conf $< $@ - -%.pdf: %.tex - pdflatex -interaction=batchmode -jobname=$(basename $@) $<; pdflatex -interaction=batchmode -jobname=$(basename $@) $< +%.pdf: %.rst + $(RST2PDF) -c --repeat-table-rows $< -o $@ %.1: %.rst $(RST2MAN) $< $@ @@ -536,7 +533,7 @@ clean: -$(RM) $(call ADD_ALL_DIRS,/*.o /*.d /*.a /*.ho /*~) -$(RM) $(call ADD_ALL_DIRS,/*.o /*.a /*.ho /*~) -$(RM) $(call ADD_ALL_EXESUFS,mpv) - -$(RM) $(call ADDSUFFIXES,.pdf .tex .log .aux .out .toc,DOCS/man/*/mpv) + -$(RM) $(call ADDSUFFIXES,.pdf,DOCS/man/*/mpv) -$(RM) DOCS/man/*/mpv.1 -$(RM) version.h -$(RM) input/input_conf.h -- cgit v1.2.3