From 4a47e10d73afb1858546e697308998ec10ffacba Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Fri, 29 Apr 2011 11:47:51 -0400
Subject: [PATCH] scripts: Clean up Makefile

The append pattern ends up being a lot less of a mess.

https://bugzilla.gnome.org/show_bug.cgi?id=647231
---
 scripts/Makefile.am |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index d480572..4ddbff8 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,11 +1,12 @@
-EXTRA_DIST = hg-update.py jhbuild.in
+EXTRA_DIST =
+bin_SCRIPTS =
+pkgdata_SCRIPTS =
+CLEANFILES =
 
-bin_SCRIPTS = jhbuild
-CLEANFILES = jhbuild
+bin_SCRIPTS += jhbuild
+CLEANFILES += jhbuild
 
-pkgdata_SCRIPTS = hg-update.py
-
-jhbuild: jhbuild.in
+jhbuild: jhbuild.in Makefile
 	sed						\
 		-e s!\@srcdir\@!$(abs_top_srcdir)!	\
 		-e s!\@prefix\@!$(prefix)!		\
@@ -18,7 +19,7 @@ jhbuild: jhbuild.in
 		-e s!\@VERSION\@!$(VERSION)!		\
 		< $< > $@
 
-jhbuild: Makefile
+pkgdata_SCRIPTS += hg-update.py
+
 
-all-local: jhbuild
 
-- 
1.7.4.4