[pkg-java] r4132 - trunk/libyanfs-java/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Sat Sep 8 21:24:49 UTC 2007


Author: varun-guest
Date: 2007-09-08 21:24:49 +0000 (Sat, 08 Sep 2007)
New Revision: 4132

Modified:
   trunk/libyanfs-java/debian/changelog
   trunk/libyanfs-java/debian/rules
Log:
* debian/rules: Use "install" command to install the jar.



Modified: trunk/libyanfs-java/debian/changelog
===================================================================
--- trunk/libyanfs-java/debian/changelog	2007-09-07 22:06:18 UTC (rev 4131)
+++ trunk/libyanfs-java/debian/changelog	2007-09-08 21:24:49 UTC (rev 4132)
@@ -6,4 +6,4 @@
   [ Kumar Appaiah ]
   * Add XS-Vcs-Browser and XS-Vcs-Svn entries.
 
- -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Fri, 07 Sep 2007 13:29:38 +0530
+ -- Varun Hiremath <varunhiremath at gmail.com>  Fri, 07 Sep 2007 21:44:27 +0530

Modified: trunk/libyanfs-java/debian/rules
===================================================================
--- trunk/libyanfs-java/debian/rules	2007-09-07 22:06:18 UTC (rev 4131)
+++ trunk/libyanfs-java/debian/rules	2007-09-08 21:24:49 UTC (rev 4132)
@@ -1,10 +1,8 @@
 #!/usr/bin/make -f
 
-# This variable is used by the Makefile
-# to determine the root directory of
-# the sources. Upstream uses this, but
-# doesn't define it explicitly. So, we
-# do it here.
+# This variable is used by the Makefile to determine the root
+# directory of the sources. Upstream uses this, but doesn't define it
+# explicitly. So, we do it here.
 export CODEMGR_WS=.
 
 include /usr/share/cdbs/1/class/ant.mk
@@ -28,11 +26,8 @@
 	touch $@
 
 install/libyanfs-java::
-	dh_install yanfs.jar /usr/share/java
-	mv $(DEB_DESTDIR)/usr/share/java/yanfs.jar \
-		$(DEB_DESTDIR)/usr/share/java/yanfs-$(DEB_UPSTREAM_VERSION).jar
-	dh_link /usr/share/java/yanfs-$(DEB_UPSTREAM_VERSION).jar \
-		/usr/share/java/yanfs.jar
+	install -m 644 -D yanfs.jar $(DEB_DESTDIR)/usr/share/java/yanfs-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/yanfs-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/yanfs.jar
 
 get-orig-source:
 	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)




More information about the pkg-java-commits mailing list