[pango] Simplify make rules



commit 3230261dd6f856b77688cad7c40b7b83b63c17ed
Author: Behdad Esfahbod <behdad behdad org>
Date:   Thu Nov 26 11:20:48 2009 -0500

    Simplify make rules

 pango/Makefile.am |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/pango/Makefile.am b/pango/Makefile.am
index 3480af0..cff1de1 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -131,8 +131,7 @@ pangoinclude_HEADERS =	   \
 	pango-enum-types.h
 
 pango-enum-types.h: s-enum-types-h
-	$(AM_V_GEN) true
-s-enum-types-h: $(pango_headers) Makefile
+s-enum-types-h: $(pango_headers) Makefile.am
 	$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
 			--fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
 			--fprod "/* enumerations from \"@filename \" */\n" \
@@ -144,8 +143,7 @@ s-enum-types-h: $(pango_headers) Makefile
 	&& echo timestamp > $(@F)
 
 pango-enum-types.c: s-enum-types-c
-	$(AM_V_GEN) true
-s-enum-types-c: $(pango_headers) Makefile
+s-enum-types-c: $(pango_headers) Makefile.am
 	$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
 			--fhead "#include <pango.h>" \
 			--fprod "\n/* enumerations from \"@filename \" */" \



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