1cad809f0776657b2f4252c5d33e744b5036d47a
[debian/jabref.git] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh $@
5
6 override_dh_auto_build:
7         JAVA_HOME=/usr/lib/jvm/default-java ANT_OPTS=-D"file.encoding=UTF-8" \
8                 dh_auto_build
9         convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
10         convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
11
12 override_dh_auto_install:
13         dh_auto_install
14         install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
15
16 override_dh_installchangelogs:
17         dh_installchangelogs src/txt/CHANGELOG
18
19 get-orig-source:
20         # we use the "--repack" here until svn-upgrade can handle .tar.bz2
21         uscan --verbose --force --rename --repack