3eadeffaa97d98af536665032dae34aa7f881882
[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 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