Change build system so that changes to Makefile.defs don't get tracked
[muse-el.git] / examples / Makefile
blob411f21555169d67f3b16eadf8124653e11ce1de2
1 .PHONY: all examples clean realclean distclean fullclean
2 .PRECIOUS: %.html %.pdf %.info
4 DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \
5 || echo ../Makefile.defs.default)
7 include $(DEFS)
9 EXAMPLES = QuickStart.html QuickStart.pdf QuickStart.info
11 all: examples
13 examples: $(EXAMPLES)
15 %.html: %.muse
16 @echo Generating HTML for $<...
17 EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish html $<
19 %.pdf: %.muse
20 @echo Generating PDF for $< ...
21 EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish pdf $<
23 %.info: %.muse
24 @echo Generating Info for $< ...
25 EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish info $<
27 clean:
28 rm -f missfont.log QuickStart.texi *~
30 realclean distclean fullclean: clean
31 rm -f $(EXAMPLES)
32 rm -f QuickStart.aux QuickStart.log QuickStart.out QuickStart.tex
33 rm -f QuickStart.cp QuickStart.fn QuickStart.ky QuickStart.pg
34 rm -f QuickStart.tp QuickStart.vr