Browse Source

automake: changed to also create a /usr/share/aclocal symlink

Besides creating a symlink automake -> automake-$version in /usr/share we are
now creating one for aclocal -> aclocal-$version too.
stable/0.5
Christian Wiese 11 years ago
parent
commit
d0581a3c6c
  1. 6
      base/automake/automake.conf

6
base/automake/automake.conf

@ -16,8 +16,10 @@ automake_symlink() {
local v=$( echo $ver | cut -d'.' -f'1-2' )
# strangely ln -n is not working in this case
rm -f $root$datadir/automake
ln -snf automake-$v $root$datadir/automake
for x in aclocal automake; do
rm -f $root$datadir/$x
ln -snf $x-$v $root$datadir/$x
done
}
hook_add postmake 5 "automake_symlink"

Loading…
Cancel
Save