fixed compilation in debian/rules

This commit is contained in:
csoler 2018-05-17 22:43:49 +02:00
parent 83e198260b
commit ddf98a52ca
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
2 changed files with 7 additions and 2 deletions

View File

@ -5,7 +5,7 @@ export DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_PTIONS = hardening=+all
#export DEB_BUILD_MAINT_PTIONS = hardening=+all
export QT_SELECT = qt5
MY_BUILDDIR = _build
@ -17,7 +17,7 @@ MY_BUILDDIR = _build
# We call mkdir here because of #800738.
override_dh_auto_configure:
@mkdir -p $(MY_BUILDDIR)
dh_auto_configure -- ../src
dh_auto_configure -- CONFIG="release retroshare_plugins rs_autologin" PREFIX=/usr LIB_DIR=/usr/lib ../src
# Upstream ships with a 'history' directory containing ancient code.
# We are not interested in installing this.

View File

@ -125,6 +125,7 @@ if ! test "${nodl}" = "yes"; then
rm -rf ${workdir}/src/retroshare-qml-app/
rm -rf ${workdir}/src/build_scripts/
rm ${workdir}/debian/*~
rm ${workdir}/debian/.*.sw?
cd ${workdir}
echo Setting version numbers...
@ -147,6 +148,10 @@ if ! test "${nodl}" = "yes"; then
cd -
else
tar zxvf retroshare_${version_number}.orig.tar.gz
cp -r debian/* ${workdir}/debian/
rm ${workdir}/debian/*~
rm ${workdir}/debian/.*.sw?
fi
# Cloning sqlcipher