[MLton-commit] r4174

Stephen Weeks MLton@mlton.org
Tue, 8 Nov 2005 13:27:56 -0800


Added some missing EXE's.

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

U   mlton/trunk/Makefile

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

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2005-11-08 20:30:37 UTC (rev 4173)
+++ mlton/trunk/Makefile	2005-11-08 21:27:52 UTC (rev 4174)
@@ -387,7 +387,8 @@
 	sed "/^lib=/s;.*;lib='$(prefix)/$(ULIB)';" 			\
 		<$(SRC)/bin/mlton-script >$(TBIN)/mlton
 	chmod a+x $(TBIN)/mlton
-	cd $(BIN) && $(CP) $(LEX) $(NLFFIGEN) $(PROF) $(YACC) $(TBIN)/
+	cd $(BIN) && $(CP) $(LEX)$(EXE) $(NLFFIGEN)$(EXE)		\
+		 $(PROF)$(EXE) $(YACC)$(EXE) $(TBIN)/
 	( cd $(SRC)/man && tar cf - $(MAN_PAGES)) | \
 		( cd $(TMAN)/ && tar xf - )
 	if $(GZIP_MAN); then						\
@@ -397,9 +398,9 @@
 	cygwin|darwin|solaris)						\
 	;;								\
 	*)								\
-		for f in $(TLIB)/$(AOUT) $(TBIN)/$(LEX)			\
-			$(TBIN)/$(NLFFIGEN) $(TBIN)/$(PROF)		\
-			$(TBIN)/$(YACC); do 				\
+		for f in $(TLIB)/$(AOUT)$(EXE) $(TBIN)/$(LEX)$(EXE)	\
+			$(TBIN)/$(NLFFIGEN)$(EXE) $(TBIN)/$(PROF)$(EXE)	\
+			$(TBIN)/$(YACC)$(EXE); do			\
 			strip --remove-section=.comment			\
 				--remove-section=.note $$f; 		\
 		done							\