File: rules

package info (click to toggle)
classycle 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 916 kB
  • sloc: java: 7,383; xml: 340; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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)