[almanah] Makefile improvements



commit 348c51fad55b44b2a5655c0a5ef665416cadb5ce
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Jun 10 17:44:52 2010 +0100

    Makefile improvements
    
    Improve the marshalling stuff in Makefile.am.

 src/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 93e9f92..13ee9a4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -102,10 +102,10 @@ ALMANAH_MARSHAL_FILES = \
 	almanah-marshal.c	\
 	almanah-marshal.h
 
-almanah-marshal.h: almanah-marshal.list Makefile
-	$(AM_V_GEN)($(GLIB_GENMARSHAL) --prefix=almanah_marshal $(srcdir)/almanah-marshal.list --header > $(@F))
-almanah-marshal.c: almanah-marshal.h Makefile
-	$(AM_V_GEN)($(GLIB_GENMARSHAL) --prefix=almanah_marshal $(srcdir)/almanah-marshal.list --header --body > $(@F))
+almanah-marshal.h: almanah-marshal.list
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=almanah_marshal --header $< > $@
+almanah-marshal.c: almanah-marshal.list
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=almanah_marshal --header --body $< > $@
 
 # Enums
 ALMANAH_ENUM_FILES = \



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