aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-12 23:35:58 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-12 23:35:58 +0200
commita34d245a91cdd9ca0f8fed08ef8819b0f9e98078 (patch)
tree1b0e9b730dbb2a12e7c1851dcb0557ef2e9a54ee
parenttypo (diff)
downloadusing-git-a34d245a91cdd9ca0f8fed08ef8819b0f9e98078.tar.gz
using-git-a34d245a91cdd9ca0f8fed08ef8819b0f9e98078.tar.bz2
using-git-a34d245a91cdd9ca0f8fed08ef8819b0f9e98078.tar.xz
improve makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 73b16fa..f45223a 100644
--- a/Makefile
+++ b/Makefile
@@ -59,17 +59,17 @@ dvi: $(BOOK).dvi
%.pdf: $(TEXINFO_DIR)/%.texinfo
@mkdir -p obj/pdf
- cd obj/pdf && yes X | texi2pdf $(TEXIFLAGS) "../../$<"
+ cd obj/pdf && texi2pdf $(TEXIFLAGS) "../../$<" < /dev/null
mv "obj/pdf/$@" "$@"
%.dvi: $(TEXINFO_DIR)/%.texinfo
@mkdir -p obj/dvi
- cd obj/dvi && yes X | $(TEXI2DVI) $(TEXIFLAGS) "../../$<"
+ cd obj/dvi && $(TEXI2DVI) $(TEXIFLAGS) "../../$<" < /dev/null
mv "obj/dvi/$@" "$@"
%.ps: $(TEXINFO_DIR)/%.texinfo
@mkdir -p obj/ps
- cd obj/ps && yes X | texi2pdf $(TEXIFLAGS) --ps "../../$<"
+ cd obj/ps && texi2pdf $(TEXIFLAGS) --ps "../../$<" < /dev/null
mv "obj/ps/$@" "$@"
.PHONY: install-info install-pdf install-dvi install-ps