aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-06 04:16:38 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-06 04:16:38 +0200
commitcde3d62a0eb976b19d504d854a030c36141fef24 (patch)
tree638e3acf6e2732ea7918f1cce58b0385e5f9e20c
parentreadme: testing (diff)
downloadsha3sum-cde3d62a0eb976b19d504d854a030c36141fef24.tar.gz
sha3sum-cde3d62a0eb976b19d504d854a030c36141fef24.tar.bz2
sha3sum-cde3d62a0eb976b19d504d854a030c36141fef24.tar.xz
fix currency problem with building the texinfo manual to all forms when building with -j
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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