[gnome-music: 2/4] Silence creation of gnome-music script, and update only if changed



commit 38c7dc97274207fa38166df8cf10382032a79afa
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sun Aug 4 10:55:18 2013 +0800

    Silence creation of gnome-music script, and update only if changed
    
    Target gnome-music became a phony target because the dependency on Makefile
    is in a separate line. As a result, it is always created on `make all'.

 Makefile.am |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a0d0cca..341c920 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,8 +45,8 @@ gen-AUTHORS:
           mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ;           \
        fi
 
-gnome-music: gnome-music.in
-       sed                                             \
+gnome-music: gnome-music.in Makefile
+       $(AM_V_GEN)sed                                          \
                -e s!\ srcdir\@!$(abs_top_srcdir)!      \
                -e s!\ prefix\@!$(prefix)!              \
                -e s!\ datadir\@!$(datadir)!            \
@@ -62,8 +62,6 @@ gnome-music: gnome-music.in
                < $< > $@
        chmod a+x $@
 
-gnome-music: Makefile
-
 all-local: gnome-music
 
 -include $(top_srcdir)/git.mk


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