Apply latest journal-related updates from johnw
[muse-el.git] / Makefile
blob2ff3f80edcb6027375ffb912e153d511efaf546e
1 EMACS = emacs
2 TARGETS = README.html README.pdf README.info
3 ELC = $(patsubst %.el,%.elc,$(wildcard *.el))
5 all: $(TARGETS) $(ELC)
7 %.html: %
8 ./scripts/publish html $<
10 %.pdf: %
11 ./scripts/publish pdf $<
13 %.info: %
14 ./scripts/publish info $<
16 muse-build.elc: muse-build.el
17 @echo muse-build.el is not byte-compiled
19 %.elc: %.el
20 @$(EMACS) --no-init-file --no-site-file -batch -l muse-build.el -L . \
21 -f batch-byte-compile $<
23 clean:
24 -rm -f *.elc *~
26 realclean distclean fullclean: clean
27 -rm -f README.* missfont.log
29 test: fullclean $(TARGETS) $(ELC)
30 make clean
31 emacs -q -batch -L . -l muse-build.el -f muse-elint-files muse-*.el
33 dist: clean
34 (cd ..; tar cvzf ~/Public/Emacs/muse.tar.gz muse)
36 ######################################################################
38 # Makefile rules for Arabic transliteration tool
40 CFLAGS = -g -DSTANDALONE
42 atranslit: atranslit.cpp
43 g++ $(CFLAGS) -o $@ $<