mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
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
This commit is contained in:
10
Makefile
10
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.in >debian/scst.dkms && \
|
||||
sed 's/%{KVER}/$(KVER)/' \
|
||||
<debian/scst.preinst.in >debian/scst.preinst && \
|
||||
sed 's/%{KVER}/$(KVER)/' \
|
||||
<debian/scst.postinst.in >debian/scst.postinst && \
|
||||
sed 's/%{KVER}/$(KVER)/' \
|
||||
<debian/scst.preinst.in >debian/scst.preinst && \
|
||||
sed 's/%{KVER}/$(KVER)/' \
|
||||
<debian/scst.postinst.in >debian/scst.postinst && \
|
||||
output_files=( \
|
||||
../*_$(VERSION)-$(DEBIAN_REVISION)_*.deb \
|
||||
../*_$(VERSION)-$(DEBIAN_REVISION)_*.ddeb \
|
||||
|
||||
Reference in New Issue
Block a user