[mojarra] 01/07: Remove get-orig-source target.
Markus Koschany
apo-guest at moszumanska.debian.org
Tue Sep 30 21:59:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch experimental
in repository mojarra.
commit 3dd3327f300c54f54484c2b25b6f3f0f74dbdf01
Author: Markus Koschany <apo at gambaru.de>
Date: Tue Sep 30 21:03:49 2014 +0200
Remove get-orig-source target.
---
debian/rules | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/debian/rules b/debian/rules
index 47e180b..69849e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,4 @@
#!/usr/bin/make -f
-PKD = $(abspath $(dir $(MAKEFILE_LIST)))
-VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
-UURL := https://svn.java.net/svn/mojarra~svn/tags/
-PKG := mojarra
-DTYPE := +dfsg
UP_VER := $(shell echo $(VER) | sed "s/$(DTYPE)//")
export JAVA_HOME=/usr/lib/jvm/default-java
@@ -22,20 +17,3 @@ override_jh_installlibs:
mh_installpoms -plibjsf-api-java --set-version=$(UP_VER)
mh_installjar -plibjsf-api-java --usj-version=$(UP_VER) \
--set-version=$(UP_VER) -l ./jsf-api.pom jsf-api.jar
-
-## https://wiki.debian.org/onlyjob/get-orig-source
-get-orig-source: $(PKG)_$(VER).orig.tar.xz
- @
-
-$(PKG)_$(VER).orig.tar.xz:
- svn checkout --config-option config:miscellany:use-commit-times=yes \
- $(UURL)$(UP_VER) $(PKG)-$(VER) \
- || $(RM) -r $(PKG)-$(VER)
- @echo "Clean-up..."
- find $(PKG)-$(VER) -iname "*.jar" -delete -printf 'removed %p\n'
- find $(PKG)-$(VER) -iname "*.class" -delete -printf 'removed %p\n'
- find $(PKG)-$(VER) -depth -name ".svn" -exec $(RM) -r '{}' \;
- @echo "Packing..."
- find -L "$(PKG)-$(VER)" -xdev -type f -print \
- | sort | XZ_OPT="-7v" tar -caf "$(PKG)_$(UP_VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
- && $(RM) -r "$(PKG)-$(VER)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mojarra.git
More information about the pkg-java-commits
mailing list