aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-06 04:32:54 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-06 04:32:54 +0200
commitca2d17517caf540c7372461181cffe45fa0c7a72 (patch)
tree536af1bdf0a4aec3718ed4980616637f69c0fd6f
parentupdate dist (diff)
downloadkrandom-ca2d17517caf540c7372461181cffe45fa0c7a72.tar.gz
krandom-ca2d17517caf540c7372461181cffe45fa0c7a72.tar.bz2
krandom-ca2d17517caf540c7372461181cffe45fa0c7a72.tar.xz
m makefile1.2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 932cbea..e2827a8 100644
--- a/Makefile
+++ b/Makefile
@@ -99,30 +99,30 @@ doc: info pdf dvi ps
.PHONY: info
info: bin/krandom.info
bin/%.info: info/%.texinfo info/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/krandom.pdf
bin/%.pdf: info/%.texinfo info/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/krandom.dvi
bin/%.dvi: info/%.texinfo info/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/krandom.ps
bin/%.ps: info/%.texinfo info/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