Switch to debhelper 7; adjust debian/{compat,control,rules}.
[debian/jabref.git] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh --with quilt $@
5
6 override_dh_auto_build:
7         JAVA_HOME=/usr/lib/jvm/default-java dh_auto_build
8         convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
9         convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
10
11 override_dh_auto_install:
12         dh_auto_install
13         install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
14
15 override_dh_installchangelogs:
16         dh_installchangelogs src/txt/CHANGELOG