Author: dsilvers
Date: Sun Feb 3 18:37:26 2008
New Revision: 3832
URL:
http://source.netsurf-browser.org?rev=3832&view=rev
Log:
Stop the repeating LEMON/DEP for the CSS parser with Makefile.unix
Modified:
trunk/netsurf/Makefile.sources
Modified: trunk/netsurf/Makefile.sources
URL:
http://source.netsurf-browser.org/trunk/netsurf/Makefile.sources?rev=3832...
==============================================================================
--- trunk/netsurf/Makefile.sources (original)
+++ trunk/netsurf/Makefile.sources Sun Feb 3 18:37:26 2008
@@ -64,6 +64,10 @@
$(VQ)echo " LEMON: css/parser.y"
$(Q)# If lemon really fails hard, we'll never know, sorry
$(Q)cd css; lemon parser.y || true
+ $(Q)# Unfortunately if the output hasn't changed, lemon doesn't
+ $(Q)# alter the file and thus make gets confused.
+ $(Q)touch css/parser.c css/parser.h
+
css/scanner.c: css/scanner.l
$(VQ)echo " RE2C: css/scanner.l"
$(Q)cd css; re2c -s scanner.l > scanner.c