We have to remove svnversion.h with "make distclean".
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 2 Nov 2011 20:21:11 +0000 (20:21 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 2 Nov 2011 20:21:11 +0000 (20:21 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39720 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.am

index 1a2c28d9b2097297781ccb12570e9d643e22efd5..33892f658c332836925fcb1efe19e7e5baaab44c 100644 (file)
@@ -533,13 +533,19 @@ CLEANFILES =              \
        *~              \
        vgcore.*
 
+#
+# We have to remove svnversion.h with "make distclean", as, otherwise,
+# "make distcheck" fails.  We still need to make the tarballs work
+# even if you do "make distclean" and try to rebuild; that's a work in
+# progress.
 #
 # XXX - "ps.c" is distributed in the source tarballs; why is it in the
 # list of files removed by "make distclean"?  (It's deliberately
 # included in that list.)
 #
 DISTCLEANFILES = \
-       ps.c
+       ps.c                    \
+       svnversion.h
 
 MAINTAINERCLEANFILES =         \
        $(GENERATED_FILES)      \
@@ -552,7 +558,6 @@ MAINTAINERCLEANFILES =              \
        install-sh              \
        ltmain.sh               \
        missing                 \
-       svnversion.h            \
        ylwrap
 
 EXTRA_DIST = \