aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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