mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
dpkg: Use defaults if DEBEMAIL or DEBFULLNAME have not been set
This makes it easier to build a Debian package. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
10
Makefile
10
Makefile
@@ -358,14 +358,8 @@ debian/changelog: debian/changelog.in
|
||||
mv "scst-$(VERSION).tar.xz" "$@"
|
||||
|
||||
dpkg: ../scst_$(VERSION).orig.tar.gz
|
||||
@if [ -z "$$DEBEMAIL" ]; then \
|
||||
echo "Error: \$$DEBEMAIL has not been set"; \
|
||||
false; \
|
||||
fi && \
|
||||
if [ -z "$$DEBFULLNAME" ]; then \
|
||||
echo "Error: \$$DEBFULLNAME has not been set"; \
|
||||
false; \
|
||||
fi && \
|
||||
@[ -z "$$DEBEMAIL" ] || export DEBEMAIL=bvanassche@acm.org && \
|
||||
[ -z "$$DEBFULLNAME" ] || export DEBFULLNAME="Bart Van Assche" &&\
|
||||
sed 's/%{scst_version}/$(VERSION)/' \
|
||||
<debian/scst.dkms.in >debian/scst.dkms && \
|
||||
output_files=( \
|
||||
|
||||
Reference in New Issue
Block a user