1 .PHONY
: all lisp autoloads
clean realclean distclean fullclean
install test
4 include ..
/Makefile.defs
6 EL
= $(filter-out muse-autoloads.el
,$(wildcard *.el
))
7 ELC
= $(patsubst %.el
,%.elc
,$(EL
))
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
23 @
$(EMACS
) -q
$(SITEFLAG
) -batch
-l ..
/scripts
/muse-build.el \
24 -f batch-byte-compile
$<
29 realclean distclean fullclean
: clean
30 -rm -f muse-autoloads.el
32 install: autoloads lisp
33 install -d
$(ELISPDIR
)
34 install -m
0644 muse-autoloads.el
$(EL
) $(ELC
) $(ELISPDIR
)
37 $(EMACS
) -q
$(SITEFLAG
) -batch
-l ..
/scripts
/muse-build.el \
38 -f muse-elint-files muse-
*.el