diff options
| author | Vegard Øye <vegard_oye@hotmail.com> | 2011-07-21 18:41:07 +0200 |
|---|---|---|
| committer | Vegard Øye <vegard_oye@hotmail.com> | 2011-07-21 18:41:07 +0200 |
| commit | 99889a7fe75cd1c0d07eaddebbe90c863e2e1581 (patch) | |
| tree | 6f70389b7ad1e68c59ddb21e11aa4db15de55273 /Makefile | |
| parent | d24aaaf793ca3f321f6469b9a800f514a7ec3f0a (diff) | |
Add "make info" and "make pdf"
These rules compile the Texinfo documentation.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,9 +1,10 @@ SHELL = /bin/bash EMACS = emacs +DOC = doc FILES = evil*.el TAG = -.PHONY: all compile compile-batch clean tests test emacs term terminal indent +.PHONY: all compile compile-batch info pdf clean tests test emacs term terminal indent # Byte-compile Evil. all: compile @@ -17,11 +18,19 @@ done compile-batch: clean $(EMACS) --batch -Q -L . -f batch-byte-compile ${FILES} +# Documentation. +info: clean pdf + cd $(DOC) && makeinfo evil.texi + +pdf: clean + cd $(DOC) && texi2pdf evil.texi + # Delete byte-compiled files. clean: rm -f *~ rm -f \#*\# rm -f *.elc + cd $(DOC) && rm -f *.aux *.cp *.fn *.info *.ky *.log *.pg *.toc *.tp *.vr # Run tests. # The TAG variable may specify a test tag or a test name: |
