[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mig] 01/15: Make the installation tree relocatable.
From: |
Samuel Thibault |
Subject: |
[mig] 01/15: Make the installation tree relocatable. |
Date: |
Sat, 28 Sep 2013 12:42:28 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository mig.
commit 81a11e5870313a2abdcf479f8aea0dcfa78c81fb
Author: Thomas Schwinge <address@hidden>
Date: Mon Mar 19 23:42:14 2012 +0100
Make the installation tree relocatable.
* mig.in: Compute a relative path from the mig to migcom.
---
NEWS | 4 +++-
mig.in | 8 +++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 3cc86ee..550c44c 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,9 @@ Version 1.3.2
* Handle the preprocessor option `-isystem' correctly.
-* Cope with command line arguments the contain whitespace.
+* Cope with command line arguments that contain whitespace.
+
+* Make the installation tree relocatable.
* Be more careful to catch write errors when closing files.
diff --git a/mig.in b/mig.in
index 7707bf2..63e0269 100644
--- a/mig.in
+++ b/mig.in
@@ -27,7 +27,13 @@
address@hidden@
address@hidden@
address@hidden@}/address@hidden@}
address@hidden@
address@hidden@
+libexecdir_rel=$(perl -MFile::Spec -e 'print
File::Spec->abs2rel("'"$libexecdir"'","'"$bindir"'")')
+bindir_real=$(dirname "$0")
+bindir_real=$(cd "$bindir_real"/ && pwd)
+libexecdir=$bindir_real/$libexecdir_rel
+migcom=${MIGDIR-$libexecdir}/address@hidden@}
# The expansion of TARGET_CC might refer to ${CC}, so make sure it is defined.
default_cc="@CC@"
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/mig.git
- [mig] 10/15: Generate ChangeLog files for distributions., (continued)
- [mig] 10/15: Generate ChangeLog files for distributions., Samuel Thibault, 2013/09/28
- [mig] 13/15: Merge branch 'upstream', Samuel Thibault, 2013/09/28
- [mig] 09/15: Drop the auto keyword, Samuel Thibault, 2013/09/28
- [mig] 14/15: New upstream snapshot, Samuel Thibault, 2013/09/28
- [mig] 03/15: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/mig, Samuel Thibault, 2013/09/28
- [mig] 06/15: Remove unused file alloc.h, Samuel Thibault, 2013/09/28
- [mig] 04/15: Merge remote-tracking branch 'savannah/master', Samuel Thibault, 2013/09/28
- [mig] 15/15: Revert "Stop installing the upstream ChangeLog", Samuel Thibault, 2013/09/28
- [mig] 07/15: Drop the register keyword, Samuel Thibault, 2013/09/28
- [mig] 05/15: Fix spurious deallocation, Samuel Thibault, 2013/09/28
- [mig] 01/15: Make the installation tree relocatable.,
Samuel Thibault <=
- [mig] 12/15: Imported Upstream version 1.4, Samuel Thibault, 2013/09/28