diff --git a/base/automake/automake.conf b/base/automake/automake.conf index f009bb58b..45aaae21d 100644 --- a/base/automake/automake.conf +++ b/base/automake/automake.conf @@ -3,8 +3,6 @@ # # Filename: package/.../automake/automake.conf # Copyright (C) 2007 The OpenSDE Project -# Copyright (C) 2004 - 2006 The T2 SDE Project -# Copyright (C) 1998 - 2003 Clifford Wolf # # More information can be found in the files COPYING and README. # @@ -14,4 +12,8 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -hook_add postmake 5 "rm -rf $root$datadir/automake ; ln -s automake-${ver} $root$datadir/automake" +automake_symlink() { + local v=$( echo $ver | cut -d'.' -f'1-2' ) + ln -snf automake-$v $root$datadir/automake +} +hook_add postmake 5 "automake_symlink"