[MLton-commit] r4825

Stephen Weeks sweeks at mlton.org
Wed Nov 15 10:35:14 PST 2006


Adam Goode's patch to install PDF instead of .ps.gz versions of the
ML-Lex and ML-Yacc documentation.


----------------------------------------------------------------------

U   mlton/trunk/Makefile
U   mlton/trunk/mllex/Makefile
U   mlton/trunk/mlyacc/Makefile
U   mlton/trunk/mlyacc/doc/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2006-11-15 09:19:29 UTC (rev 4824)
+++ mlton/trunk/Makefile	2006-11-15 18:35:09 UTC (rev 4825)
@@ -440,8 +440,8 @@
 		; do 							\
 		$(CP) $(SRC)/regression/$$f.sml $(TEXM)/; 		\
 	done
-	$(GZIP) -c $(LEX)/$(LEX).ps >$(TDOC)/$(LEX).ps.gz
-	$(GZIP) -c $(YACC)/$(YACC).ps >$(TDOC)/$(YACC).ps.gz
+	$(CP) $(LEX)/$(LEX).pdf $(TDOC)
+	$(CP) $(YACC)/$(YACC).pdf $(TDOC)
 	find $(TDOC)/ -name .svn -type d | xargs rm -rf
 	find $(TDOC)/ -name .ignore -type f | xargs rm -rf
 	find $(TEXM)/ -name .svn -type d | xargs rm -rf

Modified: mlton/trunk/mllex/Makefile
===================================================================
--- mlton/trunk/mllex/Makefile	2006-11-15 09:19:29 UTC (rev 4824)
+++ mlton/trunk/mllex/Makefile	2006-11-15 18:35:09 UTC (rev 4825)
@@ -47,7 +47,7 @@
 	../bin/clean
 
 .PHONY: docs
-docs: mllex.ps
+docs: mllex.pdf
 
 .PHONY: test
 test: $(NAME)

Modified: mlton/trunk/mlyacc/Makefile
===================================================================
--- mlton/trunk/mlyacc/Makefile	2006-11-15 09:19:29 UTC (rev 4824)
+++ mlton/trunk/mlyacc/Makefile	2006-11-15 18:35:09 UTC (rev 4825)
@@ -38,15 +38,21 @@
 doc/mlyacc.ps:
 	$(MAKE) -C doc mlyacc.ps
 
+doc/mlyacc.pdf:
+	$(MAKE) -C doc mlyacc.pdf
+
 mlyacc.ps: doc/mlyacc.ps
 	cp doc/mlyacc.ps .
 
+mlyacc.pdf: doc/mlyacc.pdf
+	cp doc/mlyacc.pdf .
+
 .PHONY: clean
 clean:
 	../bin/clean
 
 .PHONY: docs
-docs: mlyacc.ps
+docs: mlyacc.pdf
 
 .PHONY: test
 test: $(NAME)

Modified: mlton/trunk/mlyacc/doc/Makefile
===================================================================
--- mlton/trunk/mlyacc/doc/Makefile	2006-11-15 09:19:29 UTC (rev 4824)
+++ mlton/trunk/mlyacc/doc/Makefile	2006-11-15 18:35:09 UTC (rev 4825)
@@ -6,7 +6,7 @@
  # See the file MLton-LICENSE for details.
  ##
 
-all: mlyacc.ps
+all: mlyacc.pdf
 
 html/index.html: $(TEX_FILES)
 	mkdir -p html




More information about the MLton-commit mailing list