Update my example Muse settings.
[muse-el.git] / Makefile
blobc94ffa3738725a21705280f7d8a1f85cb117ee84
1 EMACS = emacs
2 TARGETS = README.html README.pdf README.info
3 ELC = $(patsubst %.el,%.elc,$(wildcard *.el))
5 all: $(ELC)
7 doc: $(TARGETS)
9 %.html: %
10 ./scripts/publish html $<
12 %.pdf: %
13 ./scripts/publish pdf $<
15 %.info: %
16 ./scripts/publish info $<
18 muse-build.elc: scripts/muse-build.el
19 @echo muse-build.el is not byte-compiled
21 %.elc: %.el
22 @$(EMACS) --no-init-file --no-site-file -batch \
23 -l scripts/muse-build.el -L . \
24 -f batch-byte-compile $<
26 clean:
27 -rm -f *.elc *~
29 realclean distclean fullclean: clean
30 -rm -f README.* missfont.log
32 test: fullclean $(TARGETS) $(ELC)
33 make clean
34 emacs -q -batch -L . -l scripts/muse-build.el \
35 -f muse-elint-files muse-*.el
37 dist: clean
38 (cd ..; tar cvzf ~/Public/Emacs/muse.tar.gz muse)
40 ######################################################################
42 # Makefile rules for Arabic transliteration tool
44 CFLAGS = -g -DSTANDALONE
46 atranslit: atranslit.cpp
47 g++ $(CFLAGS) -o $@ $<