[System.Xml] Overwrite instead of append so that subsequent executions doesn't end...
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Mon, 2 Feb 2015 12:50:44 +0000 (13:50 +0100)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Mon, 2 Feb 2015 12:51:42 +0000 (13:51 +0100)
mcs/class/System.XML/Makefile

index f44d93a6f0eaa473c248e7b68f906fbaaef17c43..6b103bd7c99900496531145a1acfd797c7375c9b 100644 (file)
@@ -66,7 +66,7 @@ EXTRA_DISTFILES = \
        $(nist_dom_files:%=Test/System.Xml/nist_dom/%)
 
 System.Xml.XPath/$(PROFILE)_Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
-       (cd System.Xml.XPath; $(topdir)/../jay/jay -ct < $(topdir)/../jay/skeleton.cs Parser.jay >> $(PROFILE)_Parser.cs)
+       (cd System.Xml.XPath; $(topdir)/../jay/jay -ct < $(topdir)/../jay/skeleton.cs Parser.jay > $(PROFILE)_Parser.cs)
 
 Mono.Xml.Xsl/$(PROFILE)_PatternParser.jay: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
        sed "s/\%start Expr/\%start Pattern/" $< >$@