eschulte pushed a commit to branch master in repository elpa. commit d3f86846cc9ab2dae69db6ef9d7ab490decd632b Author: Eric Schulte <schulte.e...@gmail.com> Date: Mon Dec 23 21:35:25 2013 -0700
Makefile integration --- Makefile | 7 ++++++- doc/Makefile | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0520044..11b4556 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,15 @@ BATCH=$(EMACS) --batch --execute '(add-to-list (quote load-path) "$(shell pwd)") SRC=$(wildcard *.el) ELC=$(SRC:.el=.elc) -all: src +.PHONY: clean src doc +all: src doc src: $(SRC) $(BATCH) -f batch-byte-compile $^ +doc: + $(MAKE) -C doc/ + clean: rm -f $(ELC) + $(MAKE) -C doc/ $(MAKECMDGOALS) diff --git a/doc/Makefile b/doc/Makefile index e6dd0a0..a4b75ad 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,9 @@ -%.info: %.texi +all: info html + +info: emacs-web-server.texi makeinfo $< -%.html: %.texi +html: emacs-web-server.texi makeinfo --html $< clean: