Clean Makefile (remove old libkdchart references)

This commit is contained in:
2019-07-27 13:58:32 +02:00
parent 473725bd18
commit 2865102a55
2 changed files with 2 additions and 23 deletions

View File

@@ -29,6 +29,8 @@ rm -rf "$DIR"
# Debian packaging
if [ -d "debian" ] ; then
[ "${ARCH}" == "x86_64" ] && ARCH="amd64"
[ "${ARCH}" == "i686" ] && ARCH="i386"
DEB_FILE="kisscount_${VERSION}-1_${ARCH}.deb"
rm -rf "$DEB_DIR" "$DEB_FILE"
mkdir "$DEB_DIR"
@@ -42,8 +44,6 @@ mv debian/Makefile .
[ ! -d lib ] && ln -s ../lib
#sed -i s/i686/$ARCH/g debian/control
#dh_make -f "../$DEB_FILE" --copyright gpl3 --email $DEBEMAIL -s
[ "${ARCH}" == "x86_64" ] && ARCH="amd64"
[ "${ARCH}" == "i686" ] && ARCH="i386"
debuild -us -uc -b -i -a${ARCH} || (cd - ; exit 1)
cd -
rm -rf "$DEB_DIR" "$DEB_FILE".changes "$DEB_FILE".build