Provide example for <include> in Muse manual.
[muse-el.git] / lisp / Makefile
blob482715eb9bf02473bb031b1f34a45f27c22db64c
1 .PHONY: all lisp autoloads clean realclean distclean fullclean install test
2 .PRECIOUS: %.elc
4 include ../Makefile.defs
6 EL = $(filter-out muse-autoloads.el,$(wildcard *.el))
7 ELC = $(patsubst %.el,%.elc,$(EL))
9 all: lisp
11 lisp: autoloads $(ELC)
13 muse-build.elc: ../scripts/muse-build.el
14 @echo muse-build.el is not byte-compiled
16 autoloads: muse-autoloads.el
18 muse-autoloads.el: $(EL)
19 @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/muse-build.el \
20 -f muse-generate-autoloads . ../contrib ../experimental
22 %.elc: %.el
23 @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/muse-build.el \
24 -f batch-byte-compile $<
26 clean:
27 -rm -f *.elc *~
29 realclean distclean fullclean: clean
30 -rm -f muse-autoloads.el
32 install: autoloads $(ELC)
33 install -d $(ELISPDIR)
34 install -m 0644 muse-autoloads.el $(EL) $(ELC) $(ELISPDIR)
36 test: $(ELC)
37 $(EMACS) -q $(SITEFLAG) -batch -l ../scripts/muse-build.el \
38 -f muse-elint-files muse-*.el