summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-15 15:52:31 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-15 15:52:31 +0100
commite16c57f7e33e0d1cf44c3b3f5bf425b24b5277ec (patch)
tree8e6269a0f673d948a10d9c5c703eec0c628ea96f /doc/Makefile
parentaa016b9643a986dc1cf0bed24fbb07e302b5d0d8 (diff)
parentbf21af737122e0c904f305b3213b91710bb93216 (diff)
downloadluaotfload-e16c57f7e33e0d1cf44c3b3f5bf425b24b5277ec.tar.gz
Merge pull request #201 from phi-gamma/texlive2014
kill dtx
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 2040f5a..9e2d591 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,6 +1,6 @@
NAME = luaotfload
DOCPDF = $(NAME).pdf
-DOCDTX = $(NAME).dtx
+DOCSRC = $(NAME)-latex.tex
SCRIPTNAME = luaotfload-tool
MANSOURCE = $(SCRIPTNAME).rst
@@ -23,10 +23,11 @@ all: manual doc
graph: $(DOTPDF)
manual: $(MANPAGE)
-$(DOCPDF): $(DOCDTX)
- @echo "creating PDF documentation ($(DOCPDF))"
+$(DOCPDF): $(DOCSRC)
+ @echo "creating PDF documentation ($@)"
$(DO_LATEX)
$(DO_LATEX)
+ mv -f -- $(<:tex=pdf) $@
$(MANPAGE): $(MANSOURCE)
@echo "creating man page ($(MANPAGE))"
@@ -44,4 +45,4 @@ clean:
mrproper: clean
@$(RM) -- $(DOCS)
-# vim:set noexpandtab:tabstop=8:shiftwidth=2
+# vim:noexpandtab:tabstop=8:shiftwidth=2