SECTION = "devel"
include automake_${PV}.oe
S = "${WORKDIR}/automake-${PV}"
DEPENDS = "autoconf-native"

inherit native

do_stage () {
	oe_runmake install
	install -d ${datadir}
	if [ ! -e ${datadir}/aclocal ]; then
		ln -sf aclocal-1.8 ${datadir}/aclocal
	fi
	if [ ! -e ${datadir}/automake ]; then
		ln -sf automake-1.8 ${datadir}/automake
	fi
}