aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fa21286..c020954 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
DESTDIR=
EMACS=emacs
+SITEFLAG=--no-site-file
ALLSOURCE=$(wildcard *.el)
SPECIAL=emms-auto.el emms-maint.el
SOURCE=$(filter-out $(SPECIAL),$(ALLSOURCE))
@@ -14,14 +15,14 @@ all: $(TARGET) emms-auto.el emms.info
emms-auto.el: emms-auto.in $(SOURCE)
cp emms-auto.in emms-auto.el
-rm -f emms-auto.elc
- @$(EMACS) --no-init-file --no-site-file -batch \
+ @$(EMACS) -q $(SITEFLAG) -batch \
-l emms-maint.el \
-l emms-auto.el \
-f generate-autoloads \
$(shell pwd)/emms-auto.el .
%.elc: %.el
- @$(EMACS) --no-init-file --no-site-file -batch \
+ @$(EMACS) -q $(SITEFLAG) -batch \
-l emms-maint.el \
-f batch-byte-compile $<