Modified Reset menu action behaviour.
[secretnotes] / debian / rules
1 #!/usr/bin/make -f
2 APPNAME := secretnotes
3 builddir:
4         mkdir -p builddir
5
6 builddir/Makefile: builddir
7         cd builddir && qmake-qt4 ../$(APPNAME).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 clean:
17         dh_testdir
18         dh_testroot
19         rm -f build-stamp
20         # Add here commands to clean up after the build process.
21         rm -rf builddir
22         dh_clean
23 install: build
24         dh_testdir
25         dh_testroot
26         dh_clean -k
27         dh_installdirs
28
29         # Add here commands to install the package into debian/your_appname
30         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
31 # Build architecture-independent files here.
32 binary-indep: build install
33 # We have nothing to do by default.
34
35 # # Build architecture-dependent files here.
36 binary-arch: build install
37         dh_testdir
38         dh_testroot
39         dh_installdocs
40         dh_installexamples
41         dh_installman
42         dh_link
43         dh_compress
44         dh_fixperms
45         dh_installdeb
46         dh_shlibdeps
47         dh_gencontrol
48         dh_md5sums
49         dh_builddeb
50
51 binary: binary-indep binary-arch
52 .PHONY: build clean binary-indep binary-arch binary install configure