debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | override_dh_clean: |
| 9 | dh_clean |
| 10 | $(RM) -r $(CURDIR)/t/logs $(CURDIR)/t/run |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- OPTIMIZE="$(CFLAGS) $(CPPFLAGS) $(shell apr-1-config --includes) $(shell apr-1-config --cflags)" |
| 13 | |
| 14 | override_dh_auto_test: |
| 15 | mkdir -p $(CURDIR)/t/logs |
| 16 | mkdir -p $(CURDIR)/t/run |
| 17 | APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \ |
| 18 | dh_auto_test |