aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 6b60f11..b92869e 100644
--- a/Makefile
+++ b/Makefile
@@ -127,30 +127,30 @@ bin/%.1: doc/xsum.texman
.PHONY: info
info: bin/sha3sum.info
bin/%.info: doc/%.texinfo doc/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/sha3sum.pdf
bin/%.pdf: doc/%.texinfo doc/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/sha3sum.dvi
bin/%.dvi: doc/%.texinfo doc/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/sha3sum.ps
bin/%.ps: doc/%.texinfo doc/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