Replace unused DISTCLEAN_LOCAL_HOOKS and correct path in test/Makefile.am

The DISTCLEAN_LOCAL_HOOKS variable is not used by automake when generating
Makefiles.  This has been replaced with the clean-local target which does get
used.  The clean-local target is defined to be dependent on the
test-sys-distclean target as recommended in the automake manual.

The paths in test-sys-distclean have been corrected to ensure that test/sys is
deleted during 'make distcheck'.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Nick Vinson 2012-11-26 14:06:51 -05:00 committed by Anthony G. Basile
parent 29c8198c6f
commit 3d2fa99001

View File

@ -51,9 +51,9 @@ test/sys:
$(AM_V_GEN)tar -C $(top_builddir)/test/test -xJf $(top_srcdir)/test/sys.tar.xz
test-sys-distclean:
-rm -rf $(top_builddir)/test/sys
-rm -rf $(top_builddir)/test/test/sys
DISTCLEAN_LOCAL_HOOKS = \
clean-local: \
test-sys-distclean
EXTRA_DIST = \