summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2020-12-29 18:39:03 +0000
committerVagrant Cascadian <vagrant@debian.org>2020-12-29 20:00:40 -0800
commit4445d2870e5cdd1c5fd9176bcf2827eb9798b925 (patch)
tree290f6dcb458f4bf0a53f07711f5682bf7ab5fa2b
parent9fee9b756717959c2168b4e9cd9eecfe4644fc6b (diff)
debian/rules: Pass configure options without --runstatedir, which is unsupported in the current configure script.
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index ba8f5f9..f6cdda3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,27 @@
#!/usr/bin/make -f
+# pass configure options minus --runstatedir
+prefix=/usr
+configure_options += --host=$(DEB_HOST_GNU_TYPE)
+configure_options += --build=$(DEB_BUILD_GNU_TYPE)
+configure_options += --prefix=$(prefix)
+configure_options += --includedir=$(prefix)/include
+configure_options += --mandir=$(prefix)/share/man
+configure_options += --infodir=$(prefix)/share/info
+configure_options += --sysconfdir=/etc
+configure_options += --localstatedir=/var
+configure_options += --disable-option-checking
+configure_options += --disable-silent-rules
+configure_options += --libdir=$(prefix)/lib/$(DEB_HOST_MULTIARCH)
+configure_options += --disable-maintainer-mode
+configure_options += --disable-dependency-tracking
+
%:
dh $@ --without autoreconf
+override_dh_auto_configure:
+ ./configure $(configure_options)
+
override_dh_auto_build:
dh_auto_build
/usr/bin/docbook-to-man debian/manpages/a2ps-lpr-wrapper.sgml > debian/manpages/a2ps-lpr-wrapper.1