1 .PHONY
: all lisp autoloads
clean realclean distclean fullclean
install test
4 DEFS
= $(shell test -f ..
/Makefile.defs
&& echo ..
/Makefile.defs \
5 || echo ..
/Makefile.defs.default
)
9 EL
= $(filter-out $(PROJECT
)-autoloads.el
,$(wildcard *.el
))
10 ELC
= $(patsubst %.el
,%.elc
,$(EL
))
14 lisp
: autoloads
$(ELC
)
16 $(PROJECT
)-build.elc
: ..
/scripts
/$(PROJECT
)-build.el
17 @echo
$(PROJECT
)-build.el is not byte-compiled
19 autoloads
: $(PROJECT
)-autoloads.el
21 $(PROJECT
)-autoloads.el
: $(EL
)
22 @
$(EMACS
) -q
$(SITEFLAG
) -batch
-l ..
/scripts
/$(PROJECT
)-build.el \
23 -f
$(PROJECT
)-generate-autoloads . ..
/contrib ..
/experimental
26 @
$(EMACS
) -q
$(SITEFLAG
) -batch
-l ..
/scripts
/$(PROJECT
)-build.el \
27 -f batch-byte-compile
$<
32 realclean fullclean
: clean
33 -rm -f
$(PROJECT
)-autoloads.el
35 install: autoloads
$(ELC
)
36 install -d
$(ELISPDIR
)
37 install -m
0644 $(PROJECT
)-autoloads.el
$(EL
) $(ELC
) $(ELISPDIR
)
40 $(EMACS
) -q
$(SITEFLAG
) -batch
-l ..
/scripts
/$(PROJECT
)-build.el \
41 -f
$(PROJECT
)-elint-files
$(EL
)
45 # This allows us to recompile Muse safely after an update.
47 muse-backlink.elc
: muse-mode.elc muse-publish.elc muse.elc
49 muse-blosxom.elc
: muse-html.elc muse-project.elc muse-publish.elc
51 muse-book.elc
: muse-latex.elc muse-project.elc muse-publish.elc
52 muse-book.elc
: muse-regexps.elc
54 muse-colors.elc
: muse-mode.elc muse-regexps.elc
56 muse-context.elc
: muse-publish.elc
58 muse-docbook.elc
: muse-publish.elc muse-regexps.elc muse-xml-common.elc
60 muse-groff.elc
: muse-publish.elc
62 muse-html.elc
: muse-publish.elc muse-regexps.elc muse-xml-common.elc
64 muse-http.elc
: muse-html.elc muse-project.elc
66 muse-import-docbook.elc
: muse-import-xml.elc
68 muse-import-latex.elc
: muse-regexps.elc muse.elc
70 muse-journal.elc
: muse-book.elc muse-html.elc muse-latex.elc
71 muse-journal.elc
: muse-publish.elc
73 muse-latex.elc
: muse-publish.elc
75 muse-latex2png.elc
: muse-publish.elc
77 muse-mode.elc
: muse-regexps.elc muse-project.elc
79 muse-poem.elc
: muse-latex.elc muse-project.elc
81 muse-project.elc
: muse-publish.elc muse.elc
83 muse-protocols.elc
: muse-regexps.elc
85 muse-publish.elc
: muse-regexps.elc muse.elc
87 muse-texinfo.elc
: muse-latex.elc muse-publish.elc
89 muse-wiki.elc
: muse-colors.elc muse-regexps.elc muse-mode.elc
91 muse-xml-common.elc
: muse-publish.elc muse-regexps.elc
93 muse-xml.elc
: muse-publish.elc muse-regexps.elc muse-xml-common.elc
95 muse.elc
: muse-protocols.elc muse-regexps.elc