diff options
| -rw-r--r-- | .gitignore | 18 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | doc/Makefile | 10 |
3 files changed, 23 insertions, 11 deletions
@@ -1,17 +1,19 @@ *.elc -*.aux *.cp -*.fn -*.fns -*.info *.ky -*.log *.pg -*.toc *.tp -*.vr -*.vrs .depend evil-autoloads.el test-results.txt typescript + +/doc/dir +/doc/*.aux +/doc/*.fn +/doc/*.fns +/doc/*.info +/doc/*.log +/doc/*.toc +/doc/*.vr +/doc/*.vrs @@ -37,10 +37,10 @@ compile-batch: clean doc: info pdf info: clean - cd $(DOC) && makeinfo evil.texi + @$(MAKE) -C doc evil.info pdf: clean - cd $(DOC) && texi2pdf evil.texi + @$(MAKE) -C doc evil.pdf # Delete byte-compiled files etc. clean: @@ -48,7 +48,7 @@ clean: rm -f \#*\# rm -f *.elc rm -f .depend - cd $(DOC) && rm -f *.aux *.cp *.fn *.fns *.info *.ky *.log *.pg *.toc *.tp *.vr *.vrs + @$(MAKE) -C doc clean # Run tests. # The TAG variable may specify a test tag or a test name: diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..8c3acf5 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,10 @@ +.PHONY: clean + +%.info: %.texi + makeinfo --no-split $< + +%.pdf: %.texi + texi2pdf $< + +clean: + rm -f *.aux *.cp *.fn *.fns *.info *.ky *.log *.pg *.toc *.tp *.vr *.vrs |
