autoheader
autoconf
- env CFLAGS=$(CFLAGS) WDUMP=w3m \
+ env CFLAGS=$(CFLAGS) \
./configure --prefix=/usr --sysconfdir=/etc \
- --mandir=/usr/share/man $(WITHDEBUG) \
- --with-docbook=/usr/share/sgml/docbook/stylesheet/dsssl/modular
-
+ --mandir=/usr/share/man $(WITHDEBUG)
touch configure-stamp
build: build-stamp
dh_testdir
$(MAKE)
- $(MAKE) dok-devel dok-user dok-faq
-
touch build-stamp
clean:
install -m 0755 privoxy $(DEBDIR)/usr/sbin/privoxy
sed -e 's/^\(\(trust\|proxy\)-info-url\|admin-address\)/#\1/' \
+ -e 's/^\(enable-\(edit-actions\|remote-toggle\)\)/#\1/' \
-e 's#^confdir \.#confdir /etc/privoxy#' \
-e 's#^logdir \.#logdir /var/log/privoxy#' \
< config > $(DEBDIR)/etc/privoxy/config
dh_md5sums
dh_builddeb
+# Single step doc building on debian
+debian-dok: configure-stamp
+ $(MAKE) dok
+
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure debian-dok