X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdebian%2Frules;h=1e658c779c39b0c7813d3d970696155be8cbf1f1;hb=c3f8711d0064b6f414e3b90c7c9640ae6894cbda;hp=ca73ada2140c5c4a066ef8fca739ddf51168bcdb;hpb=9b5e06a2943d2069927c239907c5871ece2f85ac;p=citadel.git diff --git a/webcit/debian/rules b/webcit/debian/rules index ca73ada21..1e658c779 100755 --- a/webcit/debian/rules +++ b/webcit/debian/rules @@ -13,7 +13,14 @@ DESTDIR=$(CURDIR)/debian/citadel-webcit EXTRA_ARGS= PROFILE_ARGS= -#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling" +#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling compression" + + +ifneq (,$(findstring compression,$(DEB_BUILD_OPTIONS))) + ZLIB_ARGS=--without-zlib +else + ZLIB_ARGS=--with-zlib +endif ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS))) PROFILE_ARGS= --with-gprof endif @@ -38,7 +45,7 @@ configure-stamp: --with-rundir=/var/run/citadel \ --with-ical --with-db --with-ldap \ --with-ssldir=/etc/ssl/webcit/ \ - --with-zlib --with-ssl --with-libiconf \ + $(ZLIB_ARGS) --with-ssl --with-libiconf \ --with-newt --with-included-gettext \ --with-datadir=/var/run/citadel \ --enable-debug $(EXTRA_ARGS) $(PROFILE_ARGS)