diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-08-11 10:59:13 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-08-11 10:59:13 +0100 |
commit | e2cea5fc249272e38f9cd4b23faa7f44667b6525 (patch) | |
tree | 616c959e3d0fff692565a53343786dc2bee7d9b0 /configure.ac | |
parent | 355e96bd64d12d41069914735f8c7bedb6ae60c0 (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 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 51ffe927f4..3fa2515006 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -247,14 +247,14 @@ AM_GNU_GETTEXT_VERSION([0.17]) | |||
247 | m4_ifdef([AC_GNU_GETTEXT], [ | 247 | m4_ifdef([AC_GNU_GETTEXT], [ |
248 | AC_GNU_GETTEXT([external]) | 248 | AC_GNU_GETTEXT([external]) |
249 | po_makefile_in=po/Makefile.in | 249 | po_makefile_in=po/Makefile.in |
250 | po_makevars=po/Makevars | 250 | po_makevars="${srcdir}/po/Makevars:po/Makevars.in" |
251 | have_po="yes" | 251 | have_po="yes" |
252 | ], | 252 | ], |
253 | [ | 253 | [ |
254 | m4_ifdef([AM_GNU_GETTEXT], [ | 254 | m4_ifdef([AM_GNU_GETTEXT], [ |
255 | AM_GNU_GETTEXT([external]) | 255 | AM_GNU_GETTEXT([external]) |
256 | po_makefile_in=po/Makefile.in | 256 | po_makefile_in=po/Makefile.in |
257 | po_makevars=po/Makevars | 257 | po_makevars="${srcdir}/po/Makevars:po/Makevars.in" |
258 | have_po="yes" | 258 | have_po="yes" |
259 | ], | 259 | ], |
260 | [ | 260 | [ |