projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b231551
)
merged changes from 3.0 tree
author
Roland Rosenfeld
<roland@spinnaker.de>
Fri, 6 Sep 2002 16:39:31 +0000
(16:39 +0000)
committer
Roland Rosenfeld
<roland@spinnaker.de>
Fri, 6 Sep 2002 16:39:31 +0000
(16:39 +0000)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
8ec4a57
..
63e4111
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-22,6
+22,12
@@
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
WITHDEBUG="--with-debug"
endif
WITHDEBUG="--with-debug"
endif
+# hppa doesn't support -pthread option, so we complety disable pthread
+# on hppa until there is a better solution in configure.
+ifeq "$(DEB_HOST_GNU_TYPE)" "hppa-linux"
+ WITHOUTPTHREAD="--disable-pthread"
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
configure: configure-stamp
configure-stamp:
dh_testdir
@@
-30,7
+36,9
@@
configure-stamp:
autoconf
env CFLAGS=$(CFLAGS) \
./configure --prefix=/usr --sysconfdir=/etc \
autoconf
env CFLAGS=$(CFLAGS) \
./configure --prefix=/usr --sysconfdir=/etc \
- --mandir=/usr/share/man $(WITHDEBUG)
+ --mandir=/usr/share/man $(WITHDEBUG) $(WITHOUTPTHREAD) \
+ --with-docbook=no
+
touch configure-stamp
build: build-stamp
touch configure-stamp
build: build-stamp
@@
-38,6
+46,7
@@
build-stamp: configure-stamp
dh_testdir
$(MAKE)
dh_testdir
$(MAKE)
+
touch build-stamp
clean:
touch build-stamp
clean:
@@
-65,6
+74,8
@@
install: build
-e 's/^\(enable-\(edit-actions\|remote-toggle\)\)/#\1/' \
-e 's#^confdir \.#confdir /etc/privoxy#' \
-e 's#^logdir \.#logdir /var/log/privoxy#' \
-e 's/^\(enable-\(edit-actions\|remote-toggle\)\)/#\1/' \
-e 's#^confdir \.#confdir /etc/privoxy#' \
-e 's#^logdir \.#logdir /var/log/privoxy#' \
+ -e 's/\(Sample Configuration File for Privoxy\).*/\1/' \
+ -e 's/Id: config,v.*/Id: config,v $$/' \
< config > $(DEBDIR)/etc/privoxy/config
install -m 0644 default.action $(DEBDIR)/etc/privoxy/default.action
install -m 0644 standard.action $(DEBDIR)/etc/privoxy/standard.action
< config > $(DEBDIR)/etc/privoxy/config
install -m 0644 default.action $(DEBDIR)/etc/privoxy/default.action
install -m 0644 standard.action $(DEBDIR)/etc/privoxy/standard.action
@@
-111,9
+122,5
@@
binary-arch: build install
dh_md5sums
dh_builddeb
dh_md5sums
dh_builddeb
-# Single step doc building on debian
-debian-dok: configure-stamp
- $(MAKE) dok
-
binary: binary-indep binary-arch
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
debian-dok
+.PHONY: build clean binary-indep binary-arch binary install configure