changelog date format fix
[scorecard] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 APPNAME := scorecard
8 builddir:
9         mkdir -p builddir
10
11 builddir/Makefile: builddir
12         cd builddir && qmake PREFIX=/usr ../$(APPNAME).pro
13
14 build: build-stamp
15
16 build-stamp: builddir/Makefile
17         dh_testdir
18
19         # Add here commands to compile the package.
20         cd builddir && $(MAKE)
21
22         touch $@
23
24 clean:
25         dh_testdir
26         dh_testroot
27         rm -f build-stamp
28
29         # Add here commands to clean up after the build process.
30         rm -rf builddir
31
32         dh_clean 
33
34 install: build
35         dh_testdir
36         dh_testroot
37         dh_clean -k 
38         dh_installdirs
39
40         # Add here commands to install the package into debian/arora.
41         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
42
43
44 # Build architecture-independent files here.
45 binary-indep: build install
46 # We have nothing to do by default.
47
48 # Build architecture-dependent files here.
49 binary-arch: build install
50         dh_testdir
51         dh_testroot
52         dh_installdocs
53         dh_installexamples
54         dh_installman
55         dh_link
56         dh_strip
57         dh_compress
58         dh_fixperms
59         dh_installdeb
60         dh_shlibdeps
61         dh_gencontrol
62         dh_md5sums
63         dh_builddeb
64
65 binary: binary-indep binary-arch
66 .PHONY: build clean binary-indep binary-arch binary install configure