commit-hurd
[Top][All Lists]
Advanced

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

[mig] 01/01: Also add the gnu type alias for mig, like gcc


From: Samuel Thibault
Subject: [mig] 01/01: Also add the gnu type alias for mig, like gcc
Date: Thu, 03 Sep 2015 00:32:38 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository mig.

commit 76afe26963b3b886cb31ccaee4c6ba855b814ad8
Author: Samuel Thibault <address@hidden>
Date:   Thu Sep 3 00:32:23 2015 +0000

    Also add the gnu type alias for mig, like gcc
---
 debian/changelog | 6 ++++++
 debian/rules     | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9cd105b..79f9b12 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mig (1.5-3) unstable; urgency=medium
+
+  * Also add the gnu type alias for mig, like gcc.
+
+ -- Samuel Thibault <address@hidden>  Thu, 03 Sep 2015 00:31:04 +0000
+
 mig (1.5-2) unstable; urgency=medium
 
   * rules, control: Support building a cross-compiling mig.
diff --git a/debian/rules b/debian/rules
index 7f3e21f..60a9f53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,13 @@ build-indep:
 build: build-indep build-arch
 endif
 
+ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_TARGET_GNU_TYPE))
+# Make sure we always also have the gnu type alias, like gcc
+override_dh_auto_install:
+       dh_auto_install
+       ln -sf mig debian/mig/usr/bin/$(DEB_TARGET_GNU_TYPE)-mig
+endif
+
 override_dh_auto_clean:
        dh_auto_clean
        rm -rf build-aux debian/control.stamp

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/mig.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]