aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-06 04:35:24 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-06 04:35:24 +0200
commit44de7ca2c5a5d1f5146ebd091e654eb1c93fb832 (patch)
tree7bada4c7bdc5c8a46301212e8280e1a1d56f16c6 /Makefile
parentupdate dist (diff)
downloadlibgamma-44de7ca2c5a5d1f5146ebd091e654eb1c93fb832.tar.gz
libgamma-44de7ca2c5a5d1f5146ebd091e654eb1c93fb832.tar.bz2
libgamma-44de7ca2c5a5d1f5146ebd091e654eb1c93fb832.tar.xz
m makefile0.7.2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 797f4e4..f558047 100644
--- a/Makefile
+++ b/Makefile
@@ -202,20 +202,23 @@ info: libgamma.info
.PHONY: pdf
pdf: libgamma.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: libgamma.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: libgamma.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/$@ $@
# Install rules.