mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 15:09:33 -05:00
fixed compilation in debian/rules
This commit is contained in:
parent
83e198260b
commit
ddf98a52ca
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user