Fix: Routing instructions list was not cleared when route was deleted.
[situare] / debian / rules
1 #!/usr/bin/make -f
2 APPNAME := situare
3 builddir:
4         mkdir -p builddir
5 builddir/Makefile: builddir
6         cd builddir && qmake CONFIG+=armel PREFIX=/usr ../src/src.pro
7 build: build-stamp
8
9 build-stamp: builddir/Makefile 
10         dh_testdir
11         # Add here commands to compile the package.
12         cd builddir && $(MAKE)
13         touch $@
14
15 clean:
16         dh_testdir
17         dh_testroot
18         rm -f build-stamp
19         # Add here commands to clean up after the build process.
20         rm -rf builddir
21         dh_clean 
22 install: build
23         dh_testdir
24         dh_testroot
25         dh_clean -k 
26         dh_installdirs
27
28         # Add here commands to install the package into debian/situare.
29         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
30 # Build architecture-independent files here.
31 binary-indep: build install
32 # We have nothing to do by default.
33
34 # Build architecture-dependent files here.
35 binary-arch: build install
36         dh_testdir
37         dh_testroot
38         dh_installdocs
39         dh_installexamples
40         dh_installman
41         dh_link
42         dh_strip
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