comparison Makefile.am @ 1592:1c9f8f06c1d6

Support the full set of XHTML character entities
author Adam Chlipala <adam@chlipala.net>
date Sat, 05 Nov 2011 15:05:13 -0400
parents b5517f47b1f1
children ab24a7cb2a64
comparison
equal deleted inserted replaced
1591:20f898c29525 1592:1c9f8f06c1d6
19 smlnj: src/urweb.cm 19 smlnj: src/urweb.cm
20 mlton: bin/urweb 20 mlton: bin/urweb
21 21
22 clean-local: 22 clean-local:
23 rm -f src/*.mlton.grm.* src/*.mlton.lex.* \ 23 rm -f src/*.mlton.grm.* src/*.mlton.lex.* \
24 src/urweb.cm src/urweb.mlb 24 src/urweb.cm src/urweb.mlb xml/parse xml/entities.sml
25 rm -rf .cm src/.cm 25 rm -rf .cm src/.cm
26 26
27 src/urweb.cm: src/prefix.cm src/sources 27 src/urweb.cm: src/prefix.cm src/sources
28 cat src/prefix.cm src/sources \ 28 cat src/prefix.cm src/sources \
29 >src/urweb.cm 29 >src/urweb.cm
53 53
54 #ifdef PROFILE 54 #ifdef PROFILE
55 # MLTON += -profile $(PROFILE) 55 # MLTON += -profile $(PROFILE)
56 #endif 56 #endif
57 57
58 bin/urweb: src/compiler.mlb src/urweb.mlb src/*.sig src/*.sml \ 58 bin/urweb: xml/entities.sml \
59 src/compiler.mlb src/urweb.mlb src/*.sig src/*.sml \
59 src/urweb.mlton.lex.sml \ 60 src/urweb.mlton.lex.sml \
60 src/urweb.mlton.grm.sig src/urweb.mlton.grm.sml 61 src/urweb.mlton.grm.sig src/urweb.mlton.grm.sml
61 $(MLTON) -output $@ src/compiler.mlb 62 $(MLTON) -output $@ src/compiler.mlb
63
64 xml/entities.sml: xml/parse xml/xhtml-lat1.ent xml/xhtml-special.ent xml/xhtml-symbol.ent
65 xml/parse >xml/entities.sml
66
67 xml/parse: xml/parse.sml
68 $(MLTON) xml/parse.sml
62 69
63 install-exec-emacs: 70 install-exec-emacs:
64 if USE_EMACS 71 if USE_EMACS
65 mkdir -p $(DESTDIR)$(SITELISP) 72 mkdir -p $(DESTDIR)$(SITELISP)
66 cp src/elisp/*.el $(DESTDIR)$(SITELISP)/ 73 cp src/elisp/*.el $(DESTDIR)$(SITELISP)/