[totem-pl-parser] plparse/Makefile.am: Improve the rules for totemplparser-marshal.{c, h}
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] plparse/Makefile.am: Improve the rules for totemplparser-marshal.{c, h}
- Date: Tue, 18 May 2010 15:15:15 +0000 (UTC)
commit 234749a7e9fe84aeec358a9958cb0d25975d5aed
Author: Adrian Bunk <adrian bunk movial com>
Date: Tue May 18 16:00:40 2010 +0300
plparse/Makefile.am: Improve the rules for totemplparser-marshal.{c,h}
Based on a suggestion by Christian Persch.
This also fixes building with automake 1.9.
https://bugzilla.gnome.org/show_bug.cgi?id=618823
plparse/Makefile.am | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plparse/Makefile.am b/plparse/Makefile.am
index 80afd0e..ec78213 100644
--- a/plparse/Makefile.am
+++ b/plparse/Makefile.am
@@ -6,10 +6,11 @@ lib_LTLIBRARIES = libtotem-plparser.la libtotem-plparser-mini.la
MARSHALFILES = totemplparser-marshal.c totemplparser-marshal.h
BUILT_SOURCES = $(MARSHALFILES)
-totemplparser-marshal.c: totemplparser-marshal.h
- $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --body --internal > $(builddir)/totemplparser-marshal.c )
+totemplparser-marshal.c: totemplparser-marshal.list
+ $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal --header --body --internal $< > $@
+
totemplparser-marshal.h: totemplparser-marshal.list
- $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --internal > $(builddir)/totemplparser-marshal.h )
+ $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal --header --internal $< > $@
plparserincludedir = $(pkgincludedir)/1/plparser
plparser_headers = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]