Clean Makefile (remove old libkdchart references)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user