diff options
| author | Sebastien Blot | 2017-09-20 10:11:01 +0200 |
|---|---|---|
| committer | Sebastien Blot | 2017-09-20 10:11:01 +0200 |
| commit | 868f96c759b6650d88ff9f4fbc5c048302134248 (patch) | |
| tree | c0de0af318bf77a8959164ef11aeeeb2b7bab294 /debian/rules | |
Initial import
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 27 |
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 | |||
| 3 | DH_VERBOSE = 1 | ||
| 4 | |||
| 5 | DPKG_EXPORT_BUILDFLAGS = 1 | ||
| 6 | include /usr/share/dpkg/default.mk | ||
| 7 | |||
| 8 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
| 9 | |||
| 10 | %: | ||
| 11 | dh $@ | ||
| 12 | |||
| 13 | override_dh_auto_clean: | ||
| 14 | cd ./src; phpize --clean | ||
| 15 | |||
| 16 | override_dh_auto_configure: | ||
| 17 | cd ./src; phpize | ||
| 18 | cd ./src; ./configure --enable-snuffleupagus | ||
| 19 | |||
| 20 | override_dh_auto_build: | ||
| 21 | make -C src | ||
| 22 | |||
| 23 | override_dh_auto_install: | ||
| 24 | make -C src install | ||
| 25 | |||
| 26 | override_dh_auto_test: | ||
| 27 | TEST_PHP_ARGS="-q" REPORT_EXIST_STATUS=1 make -C src test | ||
