[libjide-oss-java] 07/10: Move variables to the top of debian/rules

Markus Koschany apo-guest at alioth.debian.org
Sun Aug 4 11:08:55 UTC 2013


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

apo-guest pushed a commit to branch master
in repository libjide-oss-java.

commit 766787bd9b58899c5969042301e9f29a69d595c9
Author: Markus Koschany <apo at gambaru.de>
Date:   Sun Aug 4 12:49:34 2013 +0200

    Move variables to the top of debian/rules
---
 debian/rules |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index dae3f33..70e23c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 # export DH_VERBOSE=1
 export JAVA_HOME=/usr/lib/jvm/default-java
+DPATH := $(abspath $(dir $(MAKEFILE_LIST)))
+DTYPE := +dfsg
+PKG := libjide-oss-java
+VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+)}')
 
 %:
 	dh $@ --with javahelper --with jh_maven_repo_helper
@@ -9,11 +13,8 @@ override_dh_clean:
 	dh_clean
 	rm -rf $(CURDIR)/classes
 
-DPATH := $(abspath $(dir $(MAKEFILE_LIST)))
-DTYPE := +dfsg
-PKG := libjide-oss-java
-VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+)}')
 .PHONY: get-orig-source
+## http://wiki.debian.org/onlyjob/get-orig-source
 get-orig-source: $(PKG)_$(VER).orig.tar.xz
 	@
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/libjide-oss-java.git



More information about the pkg-java-commits mailing list