Autotools build fix.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Jan 2008 16:01:11 +0000 (16:01 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Jan 2008 16:01:11 +0000 (16:01 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29085 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/GNUmakefile.am

index d48449bddb7c4d97a1820ca5d5c3071fc8ae31cd..9f5117f2eb8a2074c79691eb5fccf405b0ff8f94 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-02  Mark Rowe  <mrowe@apple.com>
+
+        Autotools build fix.
+
+        * GNUmakefile.am: Remove files before generating them, not after.
+
 2008-01-02  Mark Rowe  <mrowe@apple.com>
 
         Rubber-stamped by Alp Toker.
index 1e7a97418c01b362cf6f1b5c30f26ba59a2b8264..3a612b4e27bccdf19a65aed1ad6d30710ded3a61 100644 (file)
@@ -1153,8 +1153,8 @@ webcore_sources += \
 # XPath grammar
 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
 $(GENSOURCES)/XPathGrammar.h $(GENSOURCES)/XPathGrammar.cpp : $(WebCore)/xml/XPathGrammar.y
-       $(BISON) -d -p xpathyy $< -o $(GENSOURCES)/XPathGrammar.cpp
        rm -f $(GENSOURCES)/XPathGrammar.cpp.h $(GENSOURCES)/XPathGrammar.hpp
+       $(BISON) -d -p xpathyy $< -o $(GENSOURCES)/XPathGrammar.cpp
        touch $(GENSOURCES)/XPathGrammar.cpp.h $(GENSOURCES)/XPathGrammar.hpp
        echo '#ifndef XPathGrammar_h' > $(GENSOURCES)/XPathGrammar.h
        echo '#define XPathGrammar_h' >> $(GENSOURCES)/XPathGrammar.h