s/UNRELEASED/unstable/
[debian/jabref.git] / debian / rules
index b0d93d17b3447416c23e5b445ed55086341bd86c..2d94c909fb557eb9ad77ca7ffa2f7410b4b42cd8 100755 (executable)
@@ -17,9 +17,9 @@ configure-stamp:
        touch configure-stamp
 
 build: build-stamp patch
        touch configure-stamp
 
 build: build-stamp patch
-       ant compile unjarlib jars
+       ant jars
        convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
        convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
-       convert -geometry 16x16 src/images/JabRef-icon.png build/jabref16.xpm
+       convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
 
 build-stamp: configure-stamp 
        dh_testdir
 
 build-stamp: configure-stamp 
        dh_testdir
@@ -29,13 +29,13 @@ clean: unpatch
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
-       if [ -d build ] ; then rm -r build; fi
+       ant clean
        dh_clean 
 
 install: build
        dh_testdir
        dh_testroot
        dh_clean 
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_clean 
        dh_installdirs
                                                         
 # Build architecture-independent files here.
        dh_installdirs
                                                         
 # Build architecture-independent files here.
@@ -44,27 +44,15 @@ binary-indep: build install
        dh_testroot
        dh_installchangelogs 
        dh_installdocs
        dh_testroot
        dh_installchangelogs 
        dh_installdocs
-#      dh_installexamples
        dh_install
        dh_installmenu
        dh_install
        dh_installmenu
-#      dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_installinit
-#      dh_installcron
-#      dh_installinfo
-       dh_installman
-#      dh_link
-#      dh_strip
+       dh_desktop
+       dh_installmime
+       dh_installman debian/jabref.1
+       dh_link
        dh_compress
        dh_fixperms
        dh_compress
        dh_fixperms
-#      dh_perl
-#      dh_python
-#      dh_makeshlibs
        dh_installdeb
        dh_installdeb
-#      dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb
        dh_gencontrol
        dh_md5sums
        dh_builddeb