[gnome-shell] src/Makefile.am: two fixes to the gnome-shell wrapper handling



commit 6abb86dff625da595d860be999b1e8b774d29b3b
Author: Dan Winship <danw gnome org>
Date:   Mon Apr 4 13:52:25 2011 -0400

    src/Makefile.am: two fixes to the gnome-shell wrapper handling
    
    Add an uninstall-hook to undo the effect of install-exec-hook, and add
    an $(AM_V_GEN) to the rule that copies either gnome-shell-real or
    gnome-shell-jhbuild to gnome-shell.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646730

 src/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index eb21120..31ff58b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,9 +29,11 @@ endif
 
 noinst_DATA = gnome-shell
 gnome-shell: $(gnome_shell) Makefile
-	cp $< $  tmp && mv $  tmp $@
+	$(AM_V_GEN) cp $< $  tmp && mv $  tmp $@
 install-exec-hook:
 	mv $(DESTDIR)$(bindir)/$(gnome_shell) $(DESTDIR)$(bindir)/gnome-shell
+uninstall-hook:
+	rm -f $(DESTDIR)$(bindir)/gnome-shell
 
 generated_script_substitutions = \
 	    -e "s|@bindir[ ]|$(bindir)|" \



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