1 |
#!/usr/bin/make -f |
2 |
# -*- makefile -*- |
3 |
# Sample debian/rules that uses debhelper. |
4 |
# This file was originally written by Joey Hess and Craig Small. |
5 |
# As a special exception, when this file is copied by dh-make into a |
6 |
# dh-make output file, you may use that output file without restriction. |
7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
8 |
|
9 |
# Uncomment this to turn on verbose mode. |
10 |
#export DH_VERBOSE=1 |
11 |
|
12 |
configure: configure-stamp |
13 |
|
14 |
configure-stamp: patch |
15 |
dh_testdir |
16 |
touch configure-stamp |
17 |
|
18 |
build: build-stamp |
19 |
|
20 |
build-stamp: configure-stamp |
21 |
dh_testdir |
22 |
touch build-stamp |
23 |
|
24 |
clean: unpatch |
25 |
dh_testdir |
26 |
dh_testroot |
27 |
rm -f build-stamp configure-stamp |
28 |
dh_clean |
29 |
|
30 |
patch: patch-stamp |
31 |
patch-stamp: |
32 |
dpatch apply-all |
33 |
touch patch-stamp |
34 |
|
35 |
unpatch: |
36 |
dpatch deapply-all |
37 |
rm -rf patch-stamp debian/patched |
38 |
|
39 |
install: build |
40 |
dh_testdir |
41 |
dh_testroot |
42 |
dh_clean -k |
43 |
dh_installdirs |
44 |
|
45 |
# Lintian overrides |
46 |
install -m 644 $(CURDIR)/debian/lintian.overrides \ |
47 |
$(CURDIR)/debian/quickappoint/usr/share/lintian/overrides/quickappoint |
48 |
# Database |
49 |
install -m 644 $(CURDIR)/doc/dump.sql \ |
50 |
$(CURDIR)/debian/quickappoint/usr/share/dbconfig-common/data/quickappoint/install-dbadmin/pgsql |
51 |
|
52 |
# Build architecture-independent files here. |
53 |
binary-indep: build install |
54 |
dh_testdir |
55 |
dh_testroot |
56 |
dh_installchangelogs |
57 |
dh_installdocs |
58 |
dh_install |
59 |
dh_installdebconf |
60 |
dh_installman |
61 |
dh_compress |
62 |
dh_fixperms |
63 |
dh_installdeb |
64 |
dh_shlibdeps |
65 |
dh_gencontrol |
66 |
dh_md5sums |
67 |
dh_builddeb |
68 |
|
69 |
# Build architecture-dependent files here. |
70 |
binary-arch: build install |
71 |
# We have nothing to do by default. |
72 |
|
73 |
binary: binary-indep binary-arch |
74 |
.PHONY: build clean binary-indep binary-arch binary install configure |