From ca2d17517caf540c7372461181cffe45fa0c7a72 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 6 Apr 2015 04:32:54 +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 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 932cbea..e2827a8 100644 --- a/Makefile +++ b/Makefile @@ -99,30 +99,30 @@ doc: info pdf dvi ps .PHONY: info info: bin/krandom.info bin/%.info: info/%.texinfo info/fdl.texinfo - @mkdir -p obj bin - cd obj ; makeinfo ../$< - mv obj/$*.info bin/$*.info + @mkdir -p obj/info bin + cd obj/info ; makeinfo ../../$< + mv obj/info/$*.info bin/$*.info .PHONY: pdf pdf: bin/krandom.pdf bin/%.pdf: info/%.texinfo info/fdl.texinfo - @mkdir -p obj bin - cd obj ; yes X | texi2pdf ../$< - mv obj/$*.pdf bin/$*.pdf + @mkdir -p obj/pdf bin + cd obj/pdf ; yes X | texi2pdf ../../$< + mv obj/pdf/$*.pdf bin/$*.pdf .PHONY: dvi dvi: bin/krandom.dvi bin/%.dvi: info/%.texinfo info/fdl.texinfo - @mkdir -p obj bin - cd obj ; yes X | $(TEXI2DVI) ../$< - mv obj/$*.dvi bin/$*.dvi + @mkdir -p obj/dvi bin + cd obj/dvi ; yes X | $(TEXI2DVI) ../../$< + mv obj/dvi/$*.dvi bin/$*.dvi .PHONY: ps ps: bin/krandom.ps bin/%.ps: info/%.texinfo info/fdl.texinfo - @mkdir -p obj bin - cd obj ; yes X | texi2pdf --ps ../$< - mv obj/$*.ps bin/$*.ps + @mkdir -p obj/ps bin + cd obj/ps ; yes X | texi2pdf --ps ../../$< + mv obj/ps/$*.ps bin/$*.ps -- cgit v1.2.3-70-g09d2