Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 100 lines (59 sloc) 2.585 kb
1851969 @mwolson Generate autoloads file.
mwolson authored
1 .PHONY: all lisp autoloads clean realclean distclean fullclean install test
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
2 .PRECIOUS: %.elc
3
5e80dcf @mwolson Change build system so that changes to Makefile.defs don't get tracked
mwolson authored
4 DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \
5 || echo ../Makefile.defs.default)
6
7 include $(DEFS)
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
8
16bc63e @mwolson Tweak build system.
mwolson authored
9 EL = $(filter-out $(PROJECT)-autoloads.el,$(wildcard *.el))
6ed4df5 @mwolson Second attempt at fixing XEmacs beta problem.
mwolson authored
10 ELC = $(patsubst %.el,%.elc,$(EL))
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
11
6072c9e @mwolson Make build targets more consistent.
mwolson authored
12 all: lisp
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
13
6072c9e @mwolson Make build targets more consistent.
mwolson authored
14 lisp: autoloads $(ELC)
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
15
16bc63e @mwolson Tweak build system.
mwolson authored
16 $(PROJECT)-build.elc: ../scripts/$(PROJECT)-build.el
17 @echo $(PROJECT)-build.el is not byte-compiled
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
18
16bc63e @mwolson Tweak build system.
mwolson authored
19 autoloads: $(PROJECT)-autoloads.el
1851969 @mwolson Generate autoloads file.
mwolson authored
20
16bc63e @mwolson Tweak build system.
mwolson authored
21 $(PROJECT)-autoloads.el: $(EL)
22 @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \
23 -f $(PROJECT)-generate-autoloads . ../contrib ../experimental
1851969 @mwolson Generate autoloads file.
mwolson authored
24
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
25 %.elc: %.el
16bc63e @mwolson Tweak build system.
mwolson authored
26 @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
27 -f batch-byte-compile $<
28
83470d7 @mwolson Make sure the autoloads file is distributed with releases.
mwolson authored
29 clean distclean:
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
30 -rm -f *.elc *~
31
83470d7 @mwolson Make sure the autoloads file is distributed with releases.
mwolson authored
32 realclean fullclean: clean
16bc63e @mwolson Tweak build system.
mwolson authored
33 -rm -f $(PROJECT)-autoloads.el
1851969 @mwolson Generate autoloads file.
mwolson authored
34
6072c9e @mwolson Make build targets more consistent.
mwolson authored
35 install: autoloads $(ELC)
02bd7a5 @mwolson Make Muse installable and correct an Emacs21 issue.
mwolson authored
36 install -d $(ELISPDIR)
16bc63e @mwolson Tweak build system.
mwolson authored
37 install -m 0644 $(PROJECT)-autoloads.el $(EL) $(ELC) $(ELISPDIR)
02bd7a5 @mwolson Make Muse installable and correct an Emacs21 issue.
mwolson authored
38
27aacc5 @mwolson Move lisp files to `lisp' directory; hack on Makefiles, XEmacs compat.
mwolson authored
39 test: $(ELC)
16bc63e @mwolson Tweak build system.
mwolson authored
40 $(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \
41 -f $(PROJECT)-elint-files $(EL)
9e969fc @mwolson Permit recompilation in lisp/ without running "make clean" first
mwolson authored
42
43 # Dependencies
44 #
45 # This allows us to recompile Muse safely after an update.
46
47 muse-backlink.elc: muse-mode.elc muse-publish.elc muse.elc
48
49 muse-blosxom.elc: muse-html.elc muse-project.elc muse-publish.elc
50
51 muse-book.elc: muse-latex.elc muse-project.elc muse-publish.elc
52 muse-book.elc: muse-regexps.elc
53
54 muse-colors.elc: muse-mode.elc muse-regexps.elc
55
56 muse-context.elc: muse-publish.elc
57
58 muse-docbook.elc: muse-publish.elc muse-regexps.elc muse-xml-common.elc
59
60 muse-groff.elc: muse-publish.elc
61
62 muse-html.elc: muse-publish.elc muse-regexps.elc muse-xml-common.elc
63
64 muse-http.elc: muse-html.elc muse-project.elc
65
caaa41c @mwolson Fix build failure for muse-ikiwiki.
mwolson authored
66 muse-ikiwiki.elc: muse-html.elc muse-ipc.elc muse-publish.elc muse.elc
31654d6 @mwolson muse-ikiwiki: Move publishing function and style here.
mwolson authored
67
9e969fc @mwolson Permit recompilation in lisp/ without running "make clean" first
mwolson authored
68 muse-import-docbook.elc: muse-import-xml.elc
69
70 muse-import-latex.elc: muse-regexps.elc muse.elc
71
caaa41c @mwolson Fix build failure for muse-ikiwiki.
mwolson authored
72 muse-ipc.elc: muse-publish.elc muse.elc
73
9e969fc @mwolson Permit recompilation in lisp/ without running "make clean" first
mwolson authored
74 muse-journal.elc: muse-book.elc muse-html.elc muse-latex.elc
75 muse-journal.elc: muse-publish.elc
76
77 muse-latex.elc: muse-publish.elc
78
79 muse-latex2png.elc: muse-publish.elc
80
81 muse-mode.elc: muse-regexps.elc muse-project.elc
82
83 muse-poem.elc: muse-latex.elc muse-project.elc
84
85 muse-project.elc: muse-publish.elc muse.elc
86
87 muse-protocols.elc: muse-regexps.elc
88
89 muse-publish.elc: muse-regexps.elc muse.elc
90
91 muse-texinfo.elc: muse-latex.elc muse-publish.elc
92
93 muse-wiki.elc: muse-colors.elc muse-regexps.elc muse-mode.elc
94
95 muse-xml-common.elc: muse-publish.elc muse-regexps.elc
96
97 muse-xml.elc: muse-publish.elc muse-regexps.elc muse-xml-common.elc
98
99 muse.elc: muse-protocols.elc muse-regexps.elc
Something went wrong with that request. Please try again.