Clean testing work directory
authorTristan Van Berkom <tristanvb@openismus.com>
Sun, 17 Mar 2013 12:42:56 +0000 (21:42 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Sun, 17 Mar 2013 12:44:59 +0000 (21:44 +0900)
Added clean-local hook to properly cleanup
the testing cache directory, this causes
distcheck to finaly pass !

tests/test-server-utils/Makefile.am

index 28859aa..ae90c80 100644 (file)
@@ -56,3 +56,12 @@ test_fixture_LDADD    = $(common_libs) libetestserverutils.la
 test_fixture_SOURCES  = test-fixture.c
 
 -include $(top_srcdir)/git.mk
+
+######################################
+# The test directory needs to be     #
+# cleaned in order to pass distcheck #
+######################################
+clean-local: clean-local-check
+.PHONY: clean-local-check
+clean-local-check:
+       -rm -rf $(abs_top_builddir)/tests/test-server-utils/cache