diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 11 |
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 |