aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-04-20 23:47:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-04-20 23:47:00 +0000
commita33158e96b8da3e4be465baac2e918f9127a5559 (patch)
tree21c3846f3b375fab69047d474cce30055bdce905 /Makefile
parent6e194a2d2a308faac79be89e26b6a49fe04e6717 (diff)
Make XEmacs21 and Emacs21 happy.
darcs-hash:20060420234749-1bfb2-e458134b41ba8e28d25030fe5b6d6b8f4222c28d.gz
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 $<