summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSebastien Blot2017-09-20 10:11:01 +0200
committerSebastien Blot2017-09-20 10:11:01 +0200
commit868f96c759b6650d88ff9f4fbc5c048302134248 (patch)
treec0de0af318bf77a8959164ef11aeeeb2b7bab294 /debian/rules
Initial import
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..66bf44a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
1#!/usr/bin/make -f
2
3DH_VERBOSE = 1
4
5DPKG_EXPORT_BUILDFLAGS = 1
6include /usr/share/dpkg/default.mk
7
8export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10%:
11 dh $@
12
13override_dh_auto_clean:
14 cd ./src; phpize --clean
15
16override_dh_auto_configure:
17 cd ./src; phpize
18 cd ./src; ./configure --enable-snuffleupagus
19
20override_dh_auto_build:
21 make -C src
22
23override_dh_auto_install:
24 make -C src install
25
26override_dh_auto_test:
27 TEST_PHP_ARGS="-q" REPORT_EXIST_STATUS=1 make -C src test