[med-svn] [codonw] 01/01: install help file properly
Sascha Steinbiss
sascha-guest at moszumanska.debian.org
Sat Nov 21 01:12:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository codonw.
commit bd7ad2f0b1aeab4d1d7d1887dc8533951d9b1810
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date: Sat Nov 21 01:12:07 2015 +0000
install help file properly
---
debian/patches/helpfile_location | 12 ++++++++++++
debian/patches/series | 1 +
debian/rules | 5 ++++-
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/debian/patches/helpfile_location b/debian/patches/helpfile_location
new file mode 100644
index 0000000..d04b75c
--- /dev/null
+++ b/debian/patches/helpfile_location
@@ -0,0 +1,12 @@
+Description: Helpfile_location
+--- a/codons.c
++++ b/codons.c
+@@ -1060,7 +1060,7 @@
+ if ( p != NULL )
+ strcpy ( helplib , p );
+ else {
+- strcpy ( helplib , "codonW.hlp");
++ strcpy ( helplib , "/usr/share/codonw/codonW.hlp");
+ }
+
+ hfp=open_file("",helplib, "r", FALSE);
diff --git a/debian/patches/series b/debian/patches/series
index 6cbc1ef..88a3e40 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ enable_clean
remove_pause
define_linux
spelling
+helpfile_location
diff --git a/debian/rules b/debian/rules
index 70638f0..9515639 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,4 +23,7 @@ override_dh_installman:
override_dh_auto_install:
mkdir -p debian/codonw/usr/bin
- cp codonw debian/codonw/usr/bin
\ No newline at end of file
+ cp codonw debian/codonw/usr/bin
+ mkdir -p debian/codonw/usr/share/codonw
+ cp codonW.hlp debian/codonw/usr/share/codonw
+ chmod -x debian/codonw/usr/share/codonw/codonW.hlp
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/codonw.git
More information about the debian-med-commit
mailing list