Fixed bug where the age may be calculated incorrectly due to leap years
[magread] / debian / rules
1 #!/usr/bin/make -f
2 APPNAME := magread
3 builddir:
4         mkdir -p builddir
5  
6 builddir/Makefile: builddir
7         cd builddir && qmake-qt4 PREFIX=/usr ../MagRead.pro
8  
9 build: build-stamp
10  
11 build-stamp: builddir/Makefile
12         dh_testdir
13         # Add here commands to compile the package.
14         cd builddir && $(MAKE)
15         touch $@
16  
17 clean:
18         dh_testdir
19         dh_testroot
20         rm -f build-stamp
21         # Add here commands to clean up after the build process.
22         rm -rf builddir
23         dh_clean
24 install: build
25         dh_testdir
26         dh_testroot
27         dh_clean -k
28         dh_installdirs
29  
30         # Add here commands to install the package into debian/your_appname
31         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
32 # Build architecture-independent files here.
33 binary-indep: build install
34 # We have nothing to do by default.
35  
36 # Build architecture-dependent files here.
37 binary-arch: build install
38         dh_testdir
39         dh_testroot
40         dh_installdocs
41         dh_installexamples
42         dh_installman
43         dh_link
44 #       dh_strip --dbg-package=magread-dbg
45         dh_compress
46         dh_fixperms
47         dh_installdeb
48         dh_shlibdeps
49         dh_gencontrol
50         dh_md5sums
51         dh_builddeb
52  
53 binary: binary-indep binary-arch
54 .PHONY: build clean binary-indep binary-arch binary install configure