diff --git a/build-utils/package-codename b/build-utils/package-codename deleted file mode 100755 index df383c6ce..000000000 --- a/build-utils/package-codename +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# Syntax: -# $0 -# -# may be relative -# is relative to src/build topdir - -top_srcdir="${1-.}" -test -d "$top_srcdir" || { \ - echo "Could not change to top_srcdir '$1'" >&2; \ - exit 1; \ -} -codename_stamp="${2-codename-stamp}" - -if test -f "$top_srcdir/$codename_stamp"; then # dist source tree - echo \"$(cat "$top_srcdir/$codename_stamp" | ${TR-tr} -d '\012')\" -else - echo \""Productivity Breaker"\" | ${TR-tr} -d '\012' -fi diff --git a/build-utils/package-version b/build-utils/package-version deleted file mode 100755 index 6c8bc3543..000000000 --- a/build-utils/package-version +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# Syntax: -# $0 -# -# may be relative -# is relative to src/build topdir - -top_srcdir="${1-.}" -test -d "$top_srcdir" || { \ - echo "Could not change to top_srcdir '$1'" >&2; \ - exit 1; \ -} -version_stamp="${2-version-stamp}" - -# If GIT_DIR is set, use it. If not, try top_srcdir/.git. -if test -n "$GIT_DIR"; then :; -else GIT_DIR="$top_srcdir/.git"; export GIT_DIR -fi - -if test -f "$top_srcdir/$version_stamp"; then # dist source tree - cat "$top_srcdir/$version_stamp" | ${TR-tr} -d '\012' -elif test -d "$GIT_DIR"; then # git source tree - git_describe=`${GIT-git} describe 2>/dev/null || echo devel` - echo "$git_describe" | ${SED-sed} -e 's/^v//' -e 's/-/./g' | ${TR-tr} -d '\012' -else # ??? - echo "devel" | ${TR-tr} -d '\012' -fi