path: root/
diff options
authorDaniel Kolesa <>2014-08-11 10:59:13 +0100
committerDaniel Kolesa <>2014-08-11 10:59:13 +0100
commite2cea5fc249272e38f9cd4b23faa7f44667b6525 (patch)
tree616c959e3d0fff692565a53343786dc2bee7d9b0 /
parent355e96bd64d12d41069914735f8c7bedb6ae60c0 (diff)
autotools: proper fix for generated Makevars and distcheck
Reverts 21da4a54545cd6871d1d888566ce9fe488afef67. It is needed to generate Makevars in-tree even when building out-of-tree because of how Autotools work. However, distcheck doesn't properly remove the Makevars file in the generated distdir and makes po/ read only, preventing the build system from generating an up-to-date version of Makevars. This commit adds the required hooks needed to fix this behavior.
Diffstat (limited to '')
1 files changed, 10 insertions, 1 deletions
diff --git a/ b/
index 41a6bf3ee9..3b5ea42697 100644
--- a/
+++ b/
@@ -431,5 +431,14 @@ pkgbuild::
431clean-local: 431clean-local:
432 rm -rf benchmark coverage 432 rm -rf benchmark coverage
433 433
434# Makevars is generated in top source directory, even for out-of-tree
434distclean-local: 435distclean-local:
435 rm -f po/Makevars 436 rm -f $(top_srcdir)/po/Makevars
438# we need this to remove Makevars from dist
440 rm -f $(distdir)/po/Makevars
442# in dist tree po is read only, and we need to generate Makevars in there
444 chmod +w $(distdir)/po