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



commit 246cfb19ceb1927f132b61f05a45d3595a7a1f87
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]