File: rules

package info (click to toggle)
jardiff 0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 528 kB
  • sloc: java: 2,541; xml: 293; sh: 17; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem=ant --with javahelper

override_dh_auto_build:
	ant -Duser.name=debian -Dcompile.debug=true -Dcompile.optimize=true jar

override_dh_install:
	dh_install
	mv $(CURDIR)/debian/jardiff/usr/bin/jardiff.sh $(CURDIR)/debian/jardiff/usr/bin/jardiff

override_dh_link:
	dh_link
	dh_link -pjardiff usr/share/java/jardiff-$(DEB_VERSION_UPSTREAM).jar usr/share/java/jardiff.jar