aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-06 14:35:20 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-06 14:35:20 +0200
commite52e5f47c06e259eabc49385ae65bd713226c2ee (patch)
treed0196bd9d7053ab45cc55b5b3e6c7159095e027b
parentfix issue-file (diff)
downloadgates-of-tartaros-e52e5f47c06e259eabc49385ae65bd713226c2ee.tar.gz
gates-of-tartaros-e52e5f47c06e259eabc49385ae65bd713226c2ee.tar.bz2
gates-of-tartaros-e52e5f47c06e259eabc49385ae65bd713226c2ee.tar.xz
m makefile1428445207
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index c5831d1..8d39131 100644
--- a/Makefile
+++ b/Makefile
@@ -55,20 +55,23 @@ info: gates-of-tartaros.info
.PHONY: pdf
pdf: gates-of-tartaros.pdf
%.pdf: obj/%.texinfo obj/fdl.texinfo
- cd obj && yes X | texi2pdf "../$<"
- mv "obj/$@" "$@"
+ @mkdir -p obj/pdf
+ cd obj/pdf && yes X | texi2pdf "../../$<"
+ mv "obj/pdf/$@" "$@"
.PHONY: dvi
dvi: gates-of-tartaros.dvi
%.dvi: obj/%.texinfo obj/fdl.texinfo
- cd obj && yes X | $(TEXI2DVI) "../$<"
- mv "obj/$@" "$@"
+ @mkdir -p obj/dvi
+ cd obj/dvi && yes X | $(TEXI2DVI) "../../$<"
+ mv "obj/dvi/$@" "$@"
.PHONY: ps
ps: gates-of-tartaros.ps
%.ps: obj/%.texinfo obj/fdl.texinfo
- cd obj && yes X | texi2pdf --ps "../$<"
- mv "obj/$@" "$@"
+ @mkdir -p obj/ps
+ cd obj/ps && yes X | texi2pdf --ps "../../$<"
+ mv "obj/ps/$@" "$@"
.PHONY: cmd
cmd: got.install