diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 41a6bf3ee9..3b5ea42697 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -431,5 +431,14 @@ pkgbuild:: | |||
431 | clean-local: | 431 | clean-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 | ||
434 | distclean-local: | 435 | distclean-local: |
435 | rm -f po/Makevars | 436 | rm -f $(top_srcdir)/po/Makevars |
437 | |||
438 | # we need this to remove Makevars from dist | ||
439 | dist-hook: | ||
440 | rm -f $(distdir)/po/Makevars | ||
441 | |||
442 | # in dist tree po is read only, and we need to generate Makevars in there | ||
443 | distcheck-hook: | ||
444 | chmod +w $(distdir)/po | ||