[med-svn] [bio-rainbow] 06/11: rename rainbow to bio-rainbow to avoid name clashing

Olivier Sallou osallou at debian.org
Mon Aug 17 15:09:16 UTC 2015


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

osallou pushed a commit to branch master
in repository bio-rainbow.

commit 5cd2368355cf697cbf0358c05f97a91fc7d3f9dc
Author: Olivier Sallou <osallou at debian.org>
Date:   Mon Aug 17 13:26:07 2015 +0000

    rename rainbow to bio-rainbow to avoid name clashing
---
 debian/patches/rename_binary.patch | 23 +++++++++++++++++++++++
 debian/patches/series              |  1 +
 debian/rules                       |  6 +-----
 3 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/debian/patches/rename_binary.patch b/debian/patches/rename_binary.patch
new file mode 100644
index 0000000..ffd30ad
--- /dev/null
+++ b/debian/patches/rename_binary.patch
@@ -0,0 +1,23 @@
+--- a/Makefile
++++ b/Makefile
+@@ -10,9 +10,9 @@
+ 	$(CC) -c $(CFLAGS) $(DFLAGS) $< -o $@
+ 
+ #all: rainbow rbasm rbmergetag ezmsim 
+-all: rainbow ezmsim rbasm
++all: bio-rainbow ezmsim rbasm
+ 
+-rainbow: main.o  divide.o file_reader.o asm_R2.o mergectg.o cluster.o
++bio-rainbow: main.o  divide.o file_reader.o asm_R2.o mergectg.o cluster.o
+ 	$(CC) $(CFLAGS) -o $@ $^ $(GLIBS) 
+ 
+ rbasm: asm_R2.o rbasm_main.o file_reader.o
+@@ -42,7 +42,7 @@
+ stdaln.o: stdaln.c stdaln.h
+ 
+ clean:
+-	rm -f *.o *.gcda *.gcno *.gcov gmon.out rainbow rbasm ezmsim rbmergetag *.exe
++	rm -f *.o *.gcda *.gcno *.gcov gmon.out bio-rainbow rbasm ezmsim rbmergetag *.exe
+ 
+ clear:
+ 	rm -f *.o *.gcda *.gcno *.gcov gmon.out
diff --git a/debian/patches/series b/debian/patches/series
index 930dd9f..49d39f3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+rename_binary.patch
 add_hardening.patch
diff --git a/debian/rules b/debian/rules
index 7d74d01..2241447 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,12 +21,8 @@ include /usr/share/dpkg/default.mk
 %:
 	dh $@ 
 
-override_dh_install:
-	cp rainbow bio-rainbow
-	dh_install
-
 override_dh_installman:
-	help2man --no-discard-stderr  ./rainbow > bio-rainbow.1
+	help2man --no-discard-stderr  ./bio-rainbow > bio-rainbow.1
 	dh_installman
 
 get-orig-source:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bio-rainbow.git



More information about the debian-med-commit mailing list