Merged from mwolson@gnu.org--2005 (patch 298)
[muse-el.git] / lisp / Makefile
blob5e133af72f231080c96e01b0a822875c8d73ea1f
1 .PHONY: all lisp clean realclean distclean fullclean install test
2 .PRECIOUS: %.elc
4 include ../Makefile.defs
6 EL = $(wildcard *.el)
7 ELC = $(patsubst %.el,%.elc,$(wildcard *.el))
9 all: lisp
11 lisp: $(ELC)
13 muse-build.elc: ../scripts/muse-build.el
14 @echo muse-build.el is not byte-compiled
16 %.elc: %.el
17 @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/muse-build.el \
18 -f batch-byte-compile $<
20 clean realclean distclean fullclean:
21 -rm -f *.elc *~
23 install: $(ELC)
24 install -d $(ELISPDIR)
25 install -m 0644 $(EL) $(ELC) $(ELISPDIR)
27 test: $(ELC)
28 $(EMACS) -q $(SITEFLAG) -batch -l ../scripts/muse-build.el \
29 -f muse-elint-files muse-*.el