[med-svn] [kmer-tools] 01/02: Make build more portable
Afif Elghraoui
afif-guest at moszumanska.debian.org
Sat May 9 19:43:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository kmer-tools.
commit 1948be1930034a14f930755914b14726476c3e79
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sat May 9 12:25:20 2015 -0700
Make build more portable
Using uname rather than hard-coding "Linux" should hopefully
make this work on other Debian-supported platforms like kFreeBSD.
---
debian/rules | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 662dfba..74b6ed3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,12 +22,11 @@ include /usr/share/dpkg/default.mk
dh $@
override_dh_auto_build:
- # [!] This will not work for non-Linux
- $(MAKE) install && ln -sf Linux-* installdir
+ $(MAKE) install && ln -sf $(shell uname)-* installdir
override_dh_auto_clean:
$(MAKE) real-clean
- rm -rf Linux-* installdir
+ rm -rf $(shell uname)-* installdir
get-orig-source:
. debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/kmer-tools.git
More information about the debian-med-commit
mailing list