[jhbuild/wip/packaging: 4/6] scripts: Clean up Makefile



commit 4a47e10d73afb1858546e697308998ec10ffacba
Author: Colin Walters <walters verbum org>
Date:   Fri Apr 29 11:47:51 2011 -0400

    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
 



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