From 9120df33efdbaac82c152ed3d5995e2be7a70411 Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Thu, 20 Feb 2014 23:20:17 +0000 Subject: dist: Call clean target before any other action In case 'make dist' is invoked from a dirty tree which hasn't had its object files cleaned up, clean out the tree first before tarring up the files for a release. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index e5a7286e..a9ad5b97 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,6 +9,7 @@ EXTRA_DIST = \ CHANGES FAQ README TODO COPYING examples compat \ array.h compat.h tmux.h osdep-*.c mdoc2man.awk tmux.1 dist-hook: + make clean grep "^#found_debug=" configure find $(distdir) -name .svn -type d|xargs rm -Rf -- cgit