chore: enhance packaging

This commit is contained in:
Stéphane Lesimple
2020-11-21 13:34:01 +01:00
parent 3844c156e5
commit 0521f5271e
6 changed files with 90 additions and 163 deletions

6
configure vendored
View File

@@ -3,7 +3,7 @@
# Load the shell functions needed for the rest of this script.
BASH_BASED_CONFIGURE=./scripts/bash-based-configure
BASH_BASED_CONFIGURE_OPTS="--buildtmp=$(pwd)/build"
BASH_BASED_CONFIGURE_OPTS="--buildtmp=$(pwd)/build $@"
REQUIRED_CFLAGS="-DPATCHLEVEL=4 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -pipe"
RECOMMENDED_CFLAGS="-O2 -fomit-frame-pointer -Wall -Wno-deprecated-declarations -Wno-stringop-truncation"
DEBUG_CFLAGS="-ggdb -Wall"
@@ -41,10 +41,10 @@ GET_PKGNAME
GET_PREFIX /usr/local
GET_BINDIR
GET_MANDIR
GET_DOCDIR /usr/share/doc
GET_DOCDIR
GET_DIR "$PKGNAME" docsub "Documentation sub"\
" put documentation into this subdirectory\n under \$DOCDIR "
GET_LOCALEDIR /usr/share/locale
GET_LOCALEDIR
GET_BUILDROOT
GET_BUILDTMP