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

sebastic-guest pushed a commit to branch master
in repository mkgmapgui.

commit 7a1bb1441518c9001e9f5f51689ad9dab4cd208b
Author: Mònica Ramírez Arceda <mon...@probeta.net>
Date:   Mon May 16 00:40:14 2011 +0200

    Add a wrapper script to tell mkgmapgui where mkgmap is.
---
 debian/mkgmapgui.install | 1 +
 debian/mkgmapgui.sh      | 2 ++
 debian/rules             | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/mkgmapgui.install b/debian/mkgmapgui.install
index 578e692..6dab5bd 100644
--- a/debian/mkgmapgui.install
+++ b/debian/mkgmapgui.install
@@ -1 +1,2 @@
 mkgmapgui.jar usr/share/mkgmapgui
+debian/mkgmapgui.sh usr/share/mkgmapgui
diff --git a/debian/mkgmapgui.sh b/debian/mkgmapgui.sh
new file mode 100755
index 0000000..54e5c9b
--- /dev/null
+++ b/debian/mkgmapgui.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar mkgmapgui.jar /usr/share/mkgmap/mkgmap.jar
diff --git a/debian/rules b/debian/rules
index 2402173..852fdd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ JAVA_HOME=/usr/lib/jvm/default-java
        dh $@ --with javahelper
 
 override_dh_link:
-       dh_link usr/share/mkgmapgui/mkgmapgui.jar usr/bin/mkgmapgui 
+       dh_link usr/share/mkgmapgui/mkgmapgui.sh usr/bin/mkgmapgui
 
 override_jh_build:
        jh_build -mtim.mkgmapgui.MkgmapGui mkgmapgui.jar .

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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to