summaryrefslogtreecommitdiff
path: root/debian/autobake-deb.sh
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-02-16 23:18:00 +0100
committerSergei Golubchik <serg@mariadb.org>2015-02-17 23:49:55 +0100
commit87eb82d4d52dd9ed1c954b0068898a4ec7a02df2 (patch)
tree8e04b93e23c38ba72e9cd80781cd311e76d68310 /debian/autobake-deb.sh
parenta0e93bceb7bdbe52485ac8b822e70748c0b08830 (diff)
downloadmariadb-git-87eb82d4d52dd9ed1c954b0068898a4ec7a02df2.tar.gz
cleanup: remove old debian/ubuntu names from debian/* files
namely, remove the code to support: etch, lenny, hardy, intrepid, jaunty, karmic, maverick, natty
Diffstat (limited to 'debian/autobake-deb.sh')
-rwxr-xr-xdebian/autobake-deb.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh
index 3ee877af482..5189b5d3856 100755
--- a/debian/autobake-deb.sh
+++ b/debian/autobake-deb.sh
@@ -33,16 +33,11 @@ LOGSTRING="MariaDB build"
# is called different things on different versions.
CODENAME="$(lsb_release -sc)"
case "${CODENAME}" in
- etch) LIBREADLINE_DEV=libreadline-dev ;;
- lenny|hardy|intrepid|jaunty|karmic|lucid) LIBREADLINE_DEV='libreadline5-dev | libreadline-dev' ;;
- squeeze|maverick|natty) LIBREADLINE_DEV=libreadline5-dev ;;
+ lucid) LIBREADLINE_DEV='libreadline5-dev | libreadline-dev' ;;
+ squeeze) LIBREADLINE_DEV=libreadline5-dev ;;
*) LIBREADLINE_DEV=libreadline-gplv2-dev ;;
esac
-case "${CODENAME}" in
- etch|lenny|hardy|intrepid|jaunty|karmic) CMAKE_DEP='' ;;
- *) CMAKE_DEP='cmake (>= 2.7), ' ;;
-esac
# Clean up build file symlinks that are distro-specific. First remove all, then set
# new links.
@@ -61,7 +56,6 @@ DISTROFILES="$(ls ./debian/dist/${DISTRO})"
for distrofile in ${DISTROFILES}; do
rm -f "./debian/${distrofile}"
sed -e "s/\\\${LIBREADLINE_DEV}/${LIBREADLINE_DEV}/g" \
- -e "s/\\\${CMAKE_DEP}/${CMAKE_DEP}/g" \
< "./debian/dist/${DISTRO}/${distrofile}" > "./debian/${distrofile}"
chmod --reference="./debian/dist/${DISTRO}/${distrofile}" "./debian/${distrofile}"
done;