diff options
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 682c2d02ec..17bc92451a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1033,7 +1033,7 @@ checkapi: checkapi_local # prevents make-version from looking for SVN details in the source tarball, # failing, and then labelling the build as from "SVN version unknown." dist-hook: - if test -f $(top_srcdir)/version.conf; then \ + if test -f $(top_srcdir)/version.conf -a ! -f $(top_distdir)/version.conf ; then \ cp $(top_srcdir)/version.conf $(top_distdir); \ echo "is_release: 1" >> $(top_distdir)/version.conf; \ fi |