[easymock] 03/41: use dh_link instead of ln -s

Markus Koschany apo-guest at moszumanska.debian.org
Tue Nov 25 16:49:09 GMT 2014


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

apo-guest pushed a commit to branch master
in repository easymock.

commit 672e8a848fca201cdc8156d52277b55f5a087a93
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date:   Tue Sep 11 21:05:12 2007 +0000

    use dh_link instead of ln -s
---
 debian/changelog | 8 +-------
 debian/rules     | 5 ++---
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f4c73f5..652099b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,5 @@
-easymock (2.3+ds1-1~pre2) unstable; urgency=low
-
-  * Split off libeasymock-java-doc package.
-
- -- Jan-Pascal van Best <janpascal at vanbest.org>  Tue, 11 Sep 2007 16:45:57 +0200
-
 easymock (2.3+ds1-1~pre1) unstable; urgency=low
 
   * Initial release. (Closes: #441839)
 
- -- Jan-Pascal van Best <janpascal at vanbest.org>  Mon, 10 Sep 2007 21:06:34 +0200
+ -- Jan-Pascal van Best <janpascal at vanbest.org>  Tue, 11 Sep 2007 20:00:41 +0200
diff --git a/debian/rules b/debian/rules
index d7432af..7dfe3e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,6 @@ JAVADIR=$(INSTDIR)/usr/share/java
 
 # Explicitly build with gcj
 JAVA_HOME = /usr/lib/jvm/java-gcj
-#JAVA_HOME = /usr/lib/jvm/java-1.5.0-sun
 JAR = $(JAVA_HOME)/bin/jar
 
 # Set ant parameters
@@ -36,8 +35,8 @@ src:
 clean::
 
 install/libeasymock-java::
-	install -m 0644 dist/easymock-$(UPSTREAM_VERSION).jar $(JAVADIR)/
-	ln -s easymock-$(UPSTREAM_VERSION).jar $(JAVADIR)/easymock.jar
+	install -m 0644 dist/easymock-$(UPSTREAM_VERSION).jar $(JAVADIR)
+	dh_link /usr/share/java/easymock-$(UPSTREAM_VERSION).jar /usr/share/java/easymock.jar
 
 remove-source:
 	rm -rf src tests samples 

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



More information about the pkg-java-commits mailing list