summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:26:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:26:04 +0000
commita2a22b9555faa0ecc1ed4a401ca132b6f094ecc4 (patch)
tree48866a1acefb408a9dc8ba4570cc0698a20af227 /debian/rules
parentMerging upstream version 2.9.2. (diff)
downloadlynx-a2a22b9555faa0ecc1ed4a401ca132b6f094ecc4.tar.xz
lynx-a2a22b9555faa0ecc1ed4a401ca132b6f094ecc4.zip
Merging debian version 2.9.2-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules11
1 files changed, 6 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 1a89d53..4e5e3ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND := -Wall -DNO_BUILDSTAMP
+BDIR = -O--builddirectory=build
SSL=ssl
@@ -20,7 +21,7 @@ endif
env cf_cv_SYSTEM_MAIL=/usr/sbin/sendmail \
LIBS="-lbsd" \
- dh_auto_configure --verbose -- \
+ dh_auto_configure $(BDIR) --verbose -- \
--enable-8bit-toupper \
--enable-cgi-links \
--enable-cjk \
@@ -57,10 +58,10 @@ endif
$(CONFTLS)
override_dh_autoreconf:
- dh_autoreconf autoreconf-dickey -- -f -i
+ dh_autoreconf $(BDIR) autoreconf-dickey -- -f -i
override_dh_auto_install:
- dh_auto_install --verbose -- install-full
+ dh_auto_install $(BDIR) --verbose -- install-full
cd debian/tmp/usr/share/lynx_help && rm -vf COPYING COPYHEADER
cd debian/tmp/usr/share/lynx_doc && rm -rvf CHANGES \
COPYHEADER.asc COPYING COPYING.asc samples test
@@ -71,7 +72,7 @@ override_dh_auto_install:
override_dh_link:
rm -fv debian/lynx/usr/share/doc/lynx/changelog
- dh_link
+ dh_link $(BDIR)
%:
- dh $@
+ dh $@ --builddirectory=build