summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2014-02-20 23:20:17 +0000
committerThomas Adam <thomas@xteddy.org>2014-02-20 23:20:17 +0000
commit9120df33efdbaac82c152ed3d5995e2be7a70411 (patch)
tree40d238ef1ad55c3441c9e64b29e0f8cf50f1dc7b /Makefile.am
parent1ab0745f8e6896a815ce7a696d883d4d07c18677 (diff)
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
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