debian/watch: use sourceforge URL directly instead of the redirector
[debian/jabref.git] / debian / rules
index e69b2de9a041306b209dd8953acd1d07b84781da..ddf2d469d07f2123de0c2e04e408f2301a1b9f95 100755 (executable)
@@ -19,7 +19,7 @@ configure-stamp: patch
 build: build-stamp
 build-stamp: configure-stamp
        dh_testdir
-       ant jars
+       JAVA_HOME=/usr/lib/jvm/java-gcj ant jars
        convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
        convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
        touch build-stamp
@@ -35,16 +35,17 @@ install: install-stamp
 install-stamp: build-stamp
        dh_testdir
        dh_testroot
-       dh_clean 
+       dh_clean -k
        dh_installdirs
+       install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
        touch install-stamp
                                                         
 # Build architecture-independent files here.
 binary-indep: build install
        dh_testdir
        dh_testroot
-       dh_installchangelogs changelog_highlights.txt
-       dh_installdocs
+       dh_installchangelogs src/txt/CHANGELOG
+       dh_installdocs src/txt/README
        dh_install
        dh_installmenu
        dh_desktop