include /usr/share/dpatch/dpatch.make
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTALL_PROGRAM += -s
-endif
-
configure: patch configure-stamp
configure-stamp:
dh_testdir
dh_testdir
dh_testroot
dh_clean -A
- -make distclean
+ $(MAKE) distclean
rm -f config.status config.log config.h
rm -f configure-stamp build-stamp
dh_testroot
dh_installdirs -A
- install -s -m 644 apache2_mod_auth_mysql.so $(APACHE2)/usr/lib/apache2/modules/mod_auth_mysql.so
+ install -m 644 apache2_mod_auth_mysql.so $(APACHE2)/usr/lib/apache2/modules/mod_auth_mysql.so
install -m 644 auth_mysql.load $(APACHE2)/etc/apache2/mods-available
binary: binary-arch binary-indep
dh_testroot
dh_installdocs -A
dh_installchangelogs -A
+ dh_strip -A
dh_compress -A
dh_installdeb -A
dh_shlibdeps -A