* Change menu section to "Apps/Data Management", thanks to Frank KÃŒster
[debian/jabref.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
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.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 configure: configure-stamp
13 configure-stamp:
14         dh_testdir
15         touch configure-stamp
16
17
18 build: build-stamp
19
20 build-stamp: configure-stamp 
21         dh_testdir
22         ant compile unjarlib jars
23         convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
24         convert -geometry 16x16 src/images/JabRef-icon.png build/jabref16.xpm
25
26         touch build-stamp
27
28 clean:
29         dh_testdir
30         dh_testroot
31         rm -f build-stamp configure-stamp
32         if [ -d build ] ; then rm -r build; fi
33         dh_clean 
34
35 install: build
36         dh_testdir
37         dh_testroot
38         dh_clean -k 
39         dh_installdirs
40         # Lintian overrides
41         install -m 644 $(CURDIR)/debian/lintian.overrides \
42                 $(CURDIR)/debian/jabref/usr/share/lintian/overrides/jabref
43                                                         
44 # Build architecture-independent files here.
45 binary-indep: build install
46         dh_testdir
47         dh_testroot
48         dh_installchangelogs 
49         dh_installdocs
50 #       dh_installexamples
51         dh_install
52         dh_installmenu
53 #       dh_installdebconf       
54 #       dh_installlogrotate
55 #       dh_installemacsen
56 #       dh_installpam
57 #       dh_installmime
58 #       dh_installinit
59 #       dh_installcron
60 #       dh_installinfo
61         dh_installman
62 #       dh_link
63 #       dh_strip
64         dh_compress
65         dh_fixperms
66 #       dh_perl
67 #       dh_python
68 #       dh_makeshlibs
69         dh_installdeb
70 #       dh_shlibdeps
71         dh_gencontrol
72         dh_md5sums
73         dh_builddeb
74
75 # Build architecture-dependent files here.
76 binary-arch: build install
77 # We have nothing to do.
78
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure