Make published link handling do the right thing, plus misc. fixes.
[muse-el.git] / Makefile
blob563d6c5c180eb6a2c258c8fb5fdac142cc8eabe0
1 .PHONY: all lisp examples doc clean realclean distclean fullclean install test dist
2 .PRECIOUS: %.info %.html
4 include Makefile.defs
6 SUBDIRS = lisp examples
8 all: lisp muse.info
10 lisp:
11 (cd lisp && $(MAKE))
13 examples:
14 (cd examples && $(MAKE))
16 %.info: %.texi
17 makeinfo muse.texi
19 %.html: %.texi
20 makeinfo --html --no-split muse.texi
22 doc: muse.info muse.html
24 clean:
25 for i in $(SUBDIRS); do \
26 (cd $$i && $(MAKE) clean); done
28 realclean distclean fullclean: clean
29 -rm -f muse.info muse.html
30 for i in $(SUBDIRS); do \
31 (cd $$i && $(MAKE) distclean); done
33 install: lisp muse.info
34 (cd lisp && $(MAKE) install)
35 install -d $(INFODIR)
36 install -m 0644 muse.info $(INFODIR)/muse
37 $(INSTALLINFO) $(INFODIR)/muse
39 test:
40 (cd lisp && $(MAKE) test)
42 dist: distclean
43 (cd ..; tar cvzf ~/Public/Emacs/muse.tar.gz muse)