3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
12 include /usr/share/dpatch/dpatch.make
14 configure: configure-stamp
15 configure-stamp: patch
20 build-stamp: configure-stamp
22 JAVA_HOME=/usr/lib/jvm/java-gcj ant jars
23 convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
24 convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
34 install: install-stamp
35 install-stamp: build-stamp
40 install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
43 # Build architecture-independent files here.
44 binary-indep: build install
47 dh_installchangelogs src/txt/CHANGELOG
48 dh_installdocs src/txt/README
53 dh_installman debian/jabref.1
62 # Build architecture-dependent files here.
63 binary-arch: build install
64 # We have nothing to do.
66 binary: binary-indep binary-arch
67 .PHONY: build clean binary-indep binary-arch binary install configure