Added openssl-dev dependency
[froff-onlinedoc] / debian / rules
1 #!/usr/bin/make -f
2
3 builddir:
4         mkdir -p builddir
5
6 builddir/Makefile: builddir
7         cd builddir && qmake-qt4 PREFIX=/usr ../src.pro
8
9 build: build-stamp
10
11 build-stamp: builddir/Makefile
12         dh_testdir
13         cd builddir && $(MAKE)
14         touch $@
15
16 clean:
17         dh_testdir
18         dh_testroot
19         rm -f build-stamp configure-stamp
20
21         # Add here commands to clean up after the build process.
22         rm -rf builddir
23         dh_clean 
24
25 install: build
26         dh_testdir
27         dh_testroot
28         dh_clean -k 
29         dh_installdirs
30
31         cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/freoffice-online-services-plugin install
32
33
34 # Build architecture-independent files here.
35 binary-indep: build install
36 # We have nothing to do by default.
37
38 # Build architecture-dependent files here.
39 binary-arch: build install
40         dh_testdir
41         dh_testroot
42         dh_installchangelogs 
43         dh_installdocs
44         dh_installexamples
45         dh_installman
46         dh_link
47         dh_strip
48         dh_compress
49         dh_fixperms
50         dh_installdeb
51         dh_shlibdeps
52         dh_gencontrol
53         dh_md5sums
54         dh_builddeb
55
56 binary: binary-indep binary-arch
57 .PHONY: build clean binary-indep binary-arch binary install configure