From 3d2fa990011d04e9e1d3b98ef08181f0f4c33273 Mon Sep 17 00:00:00 2001 From: Nick Vinson Date: Mon, 26 Nov 2012 14:06:51 -0500 Subject: 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 --- test/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index 954b93bcfb..2adad9c97a 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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 = \ -- cgit v1.2.3-54-g00ecf