259b05c7db1891fce92a580341d43e19df700095
[debian/jabref-plugin-oo.git] / debian / rules
1 #!/usr/bin/make -f
2
3 PACKAGE = $(firstword $(shell dh_listpackages))
4 TMP     = $(CURDIR)/debian/$(PACKAGE)
5
6 %:
7         dh $@
8
9 override_dh_auto_build:
10         JAVA_HOME=/usr/lib/jvm/default-java ANT_OPTS=-D"file.encoding=UTF-8" \
11                 dh_auto_build
12
13 override_dh_installexamples:
14         dh_installexamples
15         chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
16
17 get-orig-source:
18         # we use the "--repack" here until svn-upgrade can handle .tar.bz2
19         uscan --verbose --force --rename --repack