Install changelog_highlights.txt as upstream changelog.
[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 include /usr/share/dpatch/dpatch.make
13
14 configure: configure-stamp
15 configure-stamp:
16         dh_testdir
17         touch configure-stamp
18
19 build: build-stamp patch
20         ant jars
21         convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
22         convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
23
24 build-stamp: configure-stamp 
25         dh_testdir
26         touch build-stamp
27
28 clean: unpatch
29         dh_testdir
30         dh_testroot
31         rm -f build-stamp configure-stamp
32         ant clean
33         dh_clean 
34
35 install: build
36         dh_testdir
37         dh_testroot
38         dh_clean 
39         dh_installdirs
40                                                         
41 # Build architecture-independent files here.
42 binary-indep: build install
43         dh_testdir
44         dh_testroot
45         dh_installchangelogs changelog_highlights.txt
46         dh_installdocs
47         dh_install
48         dh_installmenu
49         dh_desktop
50         dh_installmime
51         dh_installman debian/jabref.1
52         dh_link
53         dh_compress
54         dh_fixperms
55         dh_installdeb
56         dh_gencontrol
57         dh_md5sums
58         dh_builddeb
59
60 # Build architecture-dependent files here.
61 binary-arch: build install
62 # We have nothing to do.
63
64 binary: binary-indep binary-arch
65 .PHONY: build clean binary-indep binary-arch binary install configure