diff Makefile.in @ 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 7770ef82c463
children 27d68ccb2c9e
line wrap: on
line diff
--- a/Makefile.in	Sat Nov 05 13:12:07 2011 -0400
+++ b/Makefile.in	Sat Nov 05 15:05:13 2011 -0400
@@ -750,7 +750,7 @@
 
 clean-local:
 	rm -f src/*.mlton.grm.* src/*.mlton.lex.* \
-		src/urweb.cm src/urweb.mlb
+		src/urweb.cm src/urweb.mlb xml/parse xml/entities.sml
 	rm -rf .cm src/.cm
 
 src/urweb.cm: src/prefix.cm src/sources
@@ -782,11 +782,18 @@
 #	MLTON += -profile $(PROFILE)
 #endif
 
-bin/urweb: src/compiler.mlb src/urweb.mlb src/*.sig src/*.sml \
+bin/urweb: xml/entities.sml \
+		src/compiler.mlb src/urweb.mlb src/*.sig src/*.sml \
 		src/urweb.mlton.lex.sml \
 		src/urweb.mlton.grm.sig src/urweb.mlton.grm.sml
 	$(MLTON) -output $@ src/compiler.mlb
 
+xml/entities.sml: xml/parse xml/xhtml-lat1.ent xml/xhtml-special.ent xml/xhtml-symbol.ent
+	xml/parse >xml/entities.sml
+
+xml/parse: xml/parse.sml
+	$(MLTON) xml/parse.sml
+
 install-exec-emacs:
 @USE_EMACS_TRUE@	mkdir -p $(DESTDIR)$(SITELISP)
 @USE_EMACS_TRUE@	cp src/elisp/*.el $(DESTDIR)$(SITELISP)/