[libitext-java] 19/76: Use dh_link instead of ln -s

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 22:46:31 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository libitext-java.

commit 07d0b6c5f1f0bfd62599e26c007afec8e7eae50a
Author: Adriaan Peeters <apeeters at lashout.net>
Date:   Thu Jun 5 19:25:32 2008 +0000

    Use dh_link instead of ln -s
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4722e5d..f053daf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ libitext-java (2.1.2u-1) UNRELEASED; urgency=low
     - Removed ANT_ARGS
     - Removed API_VERSION, use DEB_UPSTREAM_VERSION instead
     - Compiled iText.jar is in lib/ instead of build/bin/
+    - Use dh_link instead of ln -s
 
  -- Adriaan Peeters <apeeters at lashout.net>  Thu, 05 Jun 2008 19:50:55 +0200
 
diff --git a/debian/rules b/debian/rules
index 976d266..de83870 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ API_VERSION          := 1.4.5
 install/lib$(LIBRARY_PACKAGE)-java::
 	dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java
 	install -m 644 lib/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
-	ln -s $(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE).jar
+	dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar
 
 
 clean::

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



More information about the pkg-java-commits mailing list