[gnome-shell] gnome-shell: fix restart after rebuild
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gnome-shell: fix restart after rebuild
- Date: Mon, 21 Mar 2011 13:23:40 +0000 (UTC)
commit 206f4604a4c772a6d3c98b6f569e87f0013f4178
Author: Dan Winship <danw gnome org>
Date: Mon Mar 21 08:47:36 2011 -0400
gnome-shell: fix restart after rebuild
Alt+F2 restart was failing after a rebuild when running from the
source tree because it would try to restart
".libs/lt-gnome-shell-real", which didn't exist yet. Fix this by using
"libtool --mode=execute" at build time to regenerate that file.
https://bugzilla.gnome.org/show_bug.cgi?id=645390
src/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 7fcd3e8..fa79fcc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,8 +44,10 @@ generated_script_substitutions = \
-e "s|@VERSION[ ]|$(VERSION)|" \
-e "s|@sysconfdir[ ]|$(sysconfdir)|"
-gnome-shell-jhbuild: gnome-shell-jhbuild.in Makefile
+gnome-shell-jhbuild: gnome-shell-jhbuild.in gnome-shell-real Makefile
$(AM_V_GEN) sed $(generated_script_substitutions) $< > $ tmp && mv $ tmp $@ && chmod a+x $@
+ @# Regenerate libtool wrapper so Alt+F2 restart will work
+ @$(LIBTOOL) --mode=execute test -f gnome-shell-real
gnome-shell-extension-tool: gnome-shell-extension-tool.in Makefile
$(AM_V_GEN) sed $(generated_script_substitutions) $< > $ tmp && mv $ tmp $@ && chmod a+x $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]