From 27a74601a5f7be849aaa19967246d7e8ecdbfc8c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 27 Aug 2021 17:57:47 +0000 Subject: [PATCH] Makefile, dpkg: Show $(KVER) and $(KDIR) while building a Debian package git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9495 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4d44a96b0..c1495df45 100644 --- a/Makefile +++ b/Makefile @@ -380,12 +380,14 @@ debian/compat: dpkg: ../scst_$(VERSION).orig.tar.gz @[ -z "$$DEBEMAIL" ] || export DEBEMAIL=bvanassche@acm.org && \ [ -z "$$DEBFULLNAME" ] || export DEBFULLNAME="Bart Van Assche" &&\ + echo "KDIR=$(KDIR)" && \ + echo "KVER=$(KVER)" && \ sed 's/%{scst_version}/$(VERSION)/' \ debian/scst.dkms && \ - sed 's/%{KVER}/$(KVER)/' \ - debian/scst.preinst && \ - sed 's/%{KVER}/$(KVER)/' \ - debian/scst.postinst && \ + sed 's/%{KVER}/$(KVER)/' \ + debian/scst.preinst && \ + sed 's/%{KVER}/$(KVER)/' \ + debian/scst.postinst && \ output_files=( \ ../*_$(VERSION)-$(DEBIAN_REVISION)_*.deb \ ../*_$(VERSION)-$(DEBIAN_REVISION)_*.ddeb \