File: Makefile

package info (click to toggle)
muse-el 3.12-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,688 kB
  • ctags: 905
  • sloc: lisp: 11,772; makefile: 304; python: 106; sh: 51; perl: 46
file content (34 lines) | stat: -rw-r--r-- 912 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: all examples clean realclean distclean fullclean
.PRECIOUS: %.html %.pdf %.info

DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \
	|| echo ../Makefile.defs.default)

include $(DEFS)

EXAMPLES = QuickStart.html QuickStart.pdf QuickStart.info

all: examples

examples: $(EXAMPLES)

%.html: %.muse
	@echo Generating HTML for $<...
	EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish html $<

%.pdf: %.muse
	@echo Generating PDF for $< ...
	EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish pdf $<

%.info: %.muse
	@echo Generating Info for $< ...
	EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish info $<

clean:
	rm -f missfont.log QuickStart.texi *~

realclean distclean fullclean: clean
	rm -f $(EXAMPLES)
	rm -f QuickStart.aux QuickStart.log QuickStart.out QuickStart.tex
	rm -f QuickStart.cp QuickStart.fn QuickStart.ky QuickStart.pg
	rm -f QuickStart.tp QuickStart.vr