Drop get-orig-source target, uscan and git-import-orig work fine.
[debian/jabref.git] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh $@
5
6 override_dh_auto_clean:
7         # ant clean fails if build.xml is not patched
8         $(RM) -r $(CURDIR)/build
9
10 override_dh_auto_build:
11         JAVA_HOME=/usr/lib/jvm/default-java ANT_OPTS=-D"file.encoding=UTF-8" \
12                 dh_auto_build
13         convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
14         convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
15
16 override_dh_auto_install:
17         dh_auto_install
18         install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
19
20 override_dh_installchangelogs:
21         dh_installchangelogs src/txt/CHANGELOG