gimp r25606 - in trunk: . plug-ins/imagemap
- From: yosh svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25606 - in trunk: . plug-ins/imagemap
- Date: Sat, 10 May 2008 11:17:49 +0100 (BST)
Author: yosh
Date: Sat May 10 10:17:48 2008
New Revision: 25606
URL: http://svn.gnome.org/viewvc/gimp?rev=25606&view=rev
Log:
2008-05-10 Manish Singh <yosh gimp org>
* plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
parser files from lex/yacc source so that they are explicit instead
of potentially being run implicitly because the file dates are off.
Modified:
trunk/ChangeLog
trunk/plug-ins/imagemap/Makefile.am
Modified: trunk/plug-ins/imagemap/Makefile.am
==============================================================================
--- trunk/plug-ins/imagemap/Makefile.am (original)
+++ trunk/plug-ins/imagemap/Makefile.am Sat May 10 10:17:48 2008
@@ -157,32 +157,49 @@
LEX=flex
YACC=bison -y
-imap_cern_lex.c: imap_cern.l
+REBUILD_FILES = \
+ imap_cern_lex.c.rebuild \
+ imap_csim_lex.c.rebuild \
+ imap_ncsa_lex.c.rebuild \
+ imap_cern_parse.c.rebuild \
+ imap_csim_parse.c.rebuild \
+ imap_ncsa_parse.c.rebuild \
+ imap_cern_parse.h.rebuild \
+ imap_csim_parse.h.rebuild \
+ imap_ncsa_parse.h.rebuild
+
+rebuild-parsers: $(REBUILD_FILES)
+ @list='$(REBUILD_FILES)'; for p in $$list; do \
+ newfile="`echo $$p | sed -e 's|.rebuild||'`"; \
+ cp $$p $(srcdir)/$$newfile; \
+ done
+
+imap_cern_lex.c.rebuild: imap_cern.l
@$(RM) $@
$(LEX) $(LFLAGS) -Pcern_ -i -t $< > $@
-imap_csim_lex.c: imap_csim.l
+imap_csim_lex.c.rebuild: imap_csim.l
@$(RM) $@
$(LEX) $(LFLAGS) -Pcsim_ -i -t $< > $@
-imap_ncsa_lex.c: imap_ncsa.l
+imap_ncsa_lex.c.rebuild: imap_ncsa.l
@$(RM) $@
$(LEX) $(LFLAGS) -Pncsa_ -i -t $< > $@
-imap_cern_parse.c: imap_cern.y
+imap_cern_parse.c.rebuild: imap_cern.y
$(YACC) $(YFLAGS) -d -p cern_ $<
mv -f y.tab.c $@
-imap_csim_parse.c: imap_csim.y
+imap_csim_parse.c.rebuild: imap_csim.y
$(YACC) $(YFLAGS) -d -p csim_ $<
mv -f y.tab.c $@
-imap_ncsa_parse.c: imap_ncsa.y
+imap_ncsa_parse.c.rebuild: imap_ncsa.y
$(YACC) $(YFLAGS) -d -p ncsa_ $<
mv -f y.tab.c $@
-imap_cern_parse.h: imap_cern.y
+imap_cern_parse.h.rebuild: imap_cern.y
$(YACC) $(YFLAGS) -d -p cern_ $<
mv -f y.tab.h $@
-imap_csim_parse.h: imap_csim.y
+imap_csim_parse.h.rebuild: imap_csim.y
$(YACC) $(YFLAGS) -d -p csim_ $<
mv -f y.tab.h $@
-imap_ncsa_parse.h: imap_ncsa.y
+imap_ncsa_parse.h.rebuild: imap_ncsa.y
$(YACC) $(YFLAGS) -d -p ncsa_ $<
mv -f y.tab.h $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]