1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
export JAVA_HOME := /usr/lib/jvm/default-java
VERSION=$(shell dpkg-parsechangelog | sed -n '/^Version/s/Version: \(.*\)-[^-]*$$/\1/p')
SVN_REVISION=211
%:
dh $@ --buildsystem=ant --with maven_repo_helper
override_dh_auto_clean:
dh_auto_clean
-rm -rf classycle.jar classycle*.zip src.zip docs/WebSite/apidoc
get-orig-source:
svn export -r$(SVN_REVISION) https://classycle.svn.sourceforge.net/svnroot/classycle/trunk/Classycle/ classycle-$(VERSION)
XZ_OPT=--best tar cJvf ../classycle_$(VERSION).orig.tar.xz classycle-$(VERSION)
rm -rf classycle-$(VERSION)
|