fixing workaround for debmake

debmake has a problem with os.getlogin(), (in docker). set and
export DEBEMAIL and DEBFULLNAME.

also added asciidoc to the list of dependencies (which is huge).
This commit is contained in:
Mikael Göransson 2016-12-13 20:28:13 +01:00
parent e44129577a
commit ca18128bef

View File

@ -3,7 +3,7 @@
## make_deb.bash for kakoune
## by lenormf
##
## Dependencies: build-essential, devscripts, debmake
## Dependencies: build-essential, devscripts, debmake, asciidoc
## Guidelines for making binary packages: https://www.debian.org/doc/debian-policy/ch-binary.html
set -e
@ -73,6 +73,10 @@ function main {
exit
fi
## os.getlogin() does not always work, e.g. in docker
export DEBEMAIL="${maintainer_email}"
export DEBFULLNAME="${maintainer_fullname}"
readonly PATH_KAKOUNE=$(readlink -e $(dirname $(readlink -f "$0"))/..)
readonly PATH_DIR_TMP=$(mktemp -d)
## TODO: assign the proper kakoune version whenever possible