vte r2252 - in trunk: . src



Author: behdad
Date: Mon Dec  1 04:34:07 2008
New Revision: 2252
URL: http://svn.gnome.org/viewvc/vte?rev=2252&view=rev

Log:
2008-11-30  Behdad Esfahbod  <behdad gnome org>

        * src/Makefile.am:
        * src/vteseq-2.c:
        * src/vteseq-n.c:
        Remove gperf-generated files from SVN, but still distribute them in 
        the tarball.



Removed:
   trunk/src/vteseq-2.c
   trunk/src/vteseq-n.c
Modified:
   trunk/ChangeLog
   trunk/src/Makefile.am

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Mon Dec  1 04:34:07 2008
@@ -100,9 +100,10 @@
 
 # Generated sources
 
-BUILT_SOURCES = marshal.c marshal.h vtetypebuiltins.c vtetypebuiltins.h vteseq-list.h
-MAINTAINERCLEANFILES = vteseq-list.h
-EXTRA_DIST += vteseq-list.h
+VTESEQ_BUILTSOURCES = vteseq-list.h vteseq-2.c vteseq-n.c
+BUILT_SOURCES = marshal.c marshal.h vtetypebuiltins.c vtetypebuiltins.h $(VTESEQ_BUILTSOURCES)
+MAINTAINERCLEANFILES = $(VTESEQ_BUILTSOURCES)
+EXTRA_DIST += $(VTESEQ_BUILTSOURCES)
 CLEANFILES = marshal.c marshal.h vtetypebuiltins.c vtetypebuiltins.h stamp-vtetypebuiltins.h
 
 marshal.c marshal.h: marshal.list
@@ -122,9 +123,15 @@
 	&& (cmp -s xgen-vtbc vtetypebuiltins.c || cp xgen-vtbc vtetypebuiltins.c ) \
 	&& rm -f xgen-vtbc
 
-gperf: vteseq-2.gperf vteseq-n.gperf
-	gperf vteseq-2.gperf -m 100 --no-strlen > vteseq-2.c
-	gperf vteseq-n.gperf -m 100 > vteseq-n.c
+vteseq-2.c: vteseq-2.gperf
+	@echo creating $@
+	$(top_srcdir)/missing --run gperf -m 100 --no-strlen $< > $  tmp && \
+	mv -f $  tmp $@
+
+vteseq-n.c: vteseq-n.gperf
+	@echo creating $@
+	$(top_srcdir)/missing --run gperf -m 100 $< > $  tmp && \
+	mv -f $  tmp $@
 
 vteseq-list.h: vteseq-2.gperf vteseq-n.gperf
 	@echo creating $@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]