aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-02 10:09:15 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-02 10:09:15 +0100
commit3a652d1f419bec2fe8d013b64f3bbc8e446a47b3 (patch)
tree91adeeacb695ecf9a564d7b11db695ce15a977db /Makefile
parentimprove readme (diff)
downloadauto-auto-complete-3a652d1f419bec2fe8d013b64f3bbc8e446a47b3.tar.gz
auto-auto-complete-3a652d1f419bec2fe8d013b64f3bbc8e446a47b3.tar.bz2
auto-auto-complete-3a652d1f419bec2fe8d013b64f3bbc8e446a47b3.tar.xz
improve makefile and move info/ into doc/
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index b796e61..f5c4dce 100644
--- a/Makefile
+++ b/Makefile
@@ -55,30 +55,30 @@ doc: info pdf dvi ps
.PHONY: info
info: bin/auto-auto-complete.info
-bin/%.info: info/%.texinfo info/fdl.texinfo
+bin/%.info: doc/info/%.texinfo doc/info/fdl.texinfo
@mkdir -p bin
makeinfo $<
mv $*.info $@
.PHONY: pdf
pdf: bin/auto-auto-complete.pdf
-bin/%.pdf: info/%.texinfo info/fdl.texinfo
+bin/%.pdf: doc/info/%.texinfo doc/info/fdl.texinfo
@mkdir -p obj/pdf bin
- cd obj/pdf ; yes X | texi2pdf ../../$<
+ cd obj/pdf && texi2pdf ../../$< < /dev/null
mv obj/pdf/$*.pdf $@
.PHONY: dvi
dvi: bin/auto-auto-complete.dvi
-bin/%.dvi: info/%.texinfo info/fdl.texinfo
+bin/%.dvi: doc/info/%.texinfo doc/info/fdl.texinfo
@mkdir -p obj/dvi bin
- cd obj/dvi ; yes X | $(TEXI2DVI) ../../$<
+ cd obj/dvi && $(TEXI2DVI) ../../$< < /dev/null
mv obj/dvi/$*.dvi $@
.PHONY: ps
ps: bin/auto-auto-complete.ps
-bin/%.ps: info/%.texinfo info/fdl.texinfo
+bin/%.ps: doc/info/%.texinfo doc/info/fdl.texinfo
@mkdir -p obj/ps bin
- cd obj/ps ; yes X | texi2pdf --ps ../../$<
+ cd obj/ps && texi2pdf --ps ../../$< < /dev/null
mv obj/ps/$*.ps $@