emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 42/119: Makefile integration


From: Eric Schulte
Subject: [elpa] 42/119: Makefile integration
Date: Mon, 10 Mar 2014 16:57:17 +0000

eschulte pushed a commit to branch master
in repository elpa.

commit d3f86846cc9ab2dae69db6ef9d7ab490decd632b
Author: Eric Schulte <address@hidden>
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:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]