summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-06 04:36:32 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-06 04:36:32 +0200
commit99048fe2ccada262f91af8eef678e311626f33df (patch)
treedafc3d77d14ae55f35d9e247cf53432c4aaa65d1
parentupdate dist (diff)
downloadblueshift-99048fe2ccada262f91af8eef678e311626f33df.tar.gz
blueshift-99048fe2ccada262f91af8eef678e311626f33df.tar.bz2
blueshift-99048fe2ccada262f91af8eef678e311626f33df.tar.xz
m makefile1.90.3
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 b402e79..d42d0a7 100644
--- a/Makefile
+++ b/Makefile
@@ -136,20 +136,23 @@ info: blueshift.info
.PHONY: pdf
pdf: blueshift.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: blueshift.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: blueshift.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/$@ $@
# Build rules for shell auto-completion