From e168e0d7a7da84bfc20d6ac68e4c61213b1edd10 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 6 Apr 2015 05:09:17 +0200 Subject: m makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index e29353c..73b16fa 100644 --- a/Makefile +++ b/Makefile @@ -58,19 +58,19 @@ dvi: $(BOOK).dvi $(MAKEINFO) $(TEXIFLAGS) "$<" %.pdf: $(TEXINFO_DIR)/%.texinfo - @mkdir -p obj - cd obj && yes X | texi2pdf $(TEXIFLAGS) "../$<" - mv "obj/$@" "$@" + @mkdir -p obj/pdf + cd obj/pdf && yes X | texi2pdf $(TEXIFLAGS) "../../$<" + mv "obj/pdf/$@" "$@" %.dvi: $(TEXINFO_DIR)/%.texinfo - @mkdir -p obj - cd obj && yes X | $(TEXI2DVI) $(TEXIFLAGS) "../$<" - mv "obj/$@" "$@" + @mkdir -p obj/dvi + cd obj/dvi && yes X | $(TEXI2DVI) $(TEXIFLAGS) "../../$<" + mv "obj/dvi/$@" "$@" %.ps: $(TEXINFO_DIR)/%.texinfo - @mkdir -p obj - cd obj && yes X | texi2pdf $(TEXIFLAGS) --ps "../$<" - mv "obj/$@" "$@" + @mkdir -p obj/ps + cd obj/ps && yes X | texi2pdf $(TEXIFLAGS) --ps "../../$<" + mv "obj/ps/$@" "$@" .PHONY: install-info install-pdf install-dvi install-ps install: install-info -- cgit v1.2.3-70-g09d2