Minor code cleanup to address elint issues.
[muse-el.git] / Makefile
blob16d61d86eac4547a117c6f7cf709ffaa9706d1b0
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 $(ELC)
33 emacs -q -batch -L . -l scripts/muse-build.el \
34 -f muse-elint-files muse-*.el
36 dist: clean
37 (cd ..; tar cvzf ~/Public/Emacs/muse.tar.gz muse)
39 ######################################################################
41 # Makefile rules for Arabic transliteration tool
43 CFLAGS = -g -DSTANDALONE
45 atranslit: atranslit.cpp
46 g++ $(CFLAGS) -o $@ $<