[eclipse-eclox] 01/01: Use dh-exec to generate link to doxygen-doc

Graham Inggs ginggs-guest at moszumanska.debian.org
Tue Apr 15 13:12:39 UTC 2014


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

ginggs-guest pushed a commit to branch master
in repository eclipse-eclox.

commit 652af6a28bdeedb96672441b7b936f7990150c2f
Author: Graham Inggs <graham at nerve.org.za>
Date:   Tue Apr 15 15:12:29 2014 +0200

    Use dh-exec to generate link to doxygen-doc
---
 debian/changelog           | 3 ++-
 debian/control             | 3 ++-
 debian/eclipse-eclox.links | 3 ++-
 debian/rules               | 1 +
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 413f0b5..c8a62d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ eclipse-eclox (0.10.1-1) UNRELEASED; urgency=medium
   * Lintian overrides: codeless-jar and 
     package-contains-broken-symlinks.
   * Bump Standards-Version to 3.9.5, no changes.
+  * Use dh-exec to generate link to doxygen-doc.
 
- -- Graham Inggs <graham at nerve.org.za>  Mon, 14 Apr 2014 17:27:17 +0200
+ -- Graham Inggs <graham at nerve.org.za>  Tue, 15 Apr 2014 15:10:57 +0200
 
 eclipse-eclox (0.10.0-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 2619bc9..8d81127 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,9 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
 Uploaders: Graham Inggs <graham at nerve.org.za>
 Build-Depends: debhelper (>= 9),
                default-jdk,
+               dh-exec,
                doxygen,
+               dpkg-dev (>=1.17),
                eclipse-pde,
                eclipse-platform,
                javahelper,
@@ -24,4 +26,3 @@ Description: simple doxygen frontend plug-in for Eclipse
  Eclox aims to provide a slim and sleek integration of the code documentation
  process into eclipse by providing a high-level graphical user interface
  over doxygen.
-
diff --git a/debian/eclipse-eclox.links b/debian/eclipse-eclox.links
old mode 100644
new mode 100755
index 7db9502..79e7ad3
--- a/debian/eclipse-eclox.links
+++ b/debian/eclipse-eclox.links
@@ -1 +1,2 @@
-/usr/share/doc/doxygen/html /usr/share/eclipse/dropins/eclox/eclipse/plugins/org.gna.eclox.help_0.10.1/html/doxygen-doc
+#! /usr/bin/dh-exec
+/usr/share/doc/doxygen/html /usr/share/eclipse/dropins/eclox/eclipse/plugins/org.gna.eclox.help_${UVER}/html/doxygen-doc
diff --git a/debian/rules b/debian/rules
index 954e778..ec7ce68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export JAVA_HOME=/usr/lib/jvm/default-java
+export UVER=$(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
 
 %:
 	dh $@ --with eclipse-helper

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eclipse-eclox.git



More information about the pkg-java-commits mailing list