From 56a0223179942c6a7f8f90bf7c26922638ccb304 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Wed, 17 Sep 2008 11:19:35 -0700 Subject: Makefile: Generate autoloads before compiling source. 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 -- cgit v1.2.3