aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2008-09-17 11:19:35 -0700
committerMichael Olson <mwolson@gnu.org>2008-09-17 11:19:35 -0700
commit56a0223179942c6a7f8f90bf7c26922638ccb304 (patch)
tree812a78ddc2744b3f3f08f3fcdad610edec2aea7f
parent71cec79f643194d19b48d20574a37b1489274833 (diff)
Makefile: Generate autoloads before compiling source.
This makes compilation warnings in the source easier to spot, and mirrors the behavior of Emacs itself.
-rw-r--r--Makefile2
-rw-r--r--lisp/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c27c6e2..31beff5 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ emms-print-metadata: emms-print-metadata.c
install:
test -d $(SITELISP) || mkdir -p $(SITELISP)
- [ -d $(INFODIR) ] || install -d $(INFODIR)
+ test -d $(INFODIR) || install -d $(INFODIR)
install -m 644 $(ALLSOURCE) $(SITELISP)
install -m 644 $(ALLCOMPILED) $(SITELISP)
install -m 0644 $(DOCDIR)emms.info $(INFODIR)/emms
diff --git a/lisp/Makefile b/lisp/Makefile
index 3153b9b..e9e7d20 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -8,7 +8,7 @@ TARGET=$(patsubst %.el,%.elc,$(SOURCE))
.PHONY: all clean
.PRECIOUS: %.elc
-all: $(TARGET) emms-auto.el
+all: emms-auto.el $(TARGET)
emms-auto.el: emms-auto.in $(SOURCE)
cp emms-auto.in emms-auto.el