emms-patches
[Top][All Lists]
Advanced

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

[Emms-patches] [COMMIT] Makefile: Generate autoloads before compiling so


From: Michael Olson
Subject: [Emms-patches] [COMMIT] Makefile: Generate autoloads before compiling source.
Date: Wed, 17 Sep 2008 11:19:35 -0700

This makes compilation warnings in the source easier to spot, and mirrors
the behavior of Emacs itself.
---
 Makefile      |    2 +-
 lisp/Makefile |    2 +-
 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
-- 
debian.1.5.6.1.19.ge6b2





reply via email to

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