diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2019-08-15 17:53:54 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2019-08-15 17:53:54 +0200 |
commit | 9d6fd14fbee19a3c3e6e4db7e36e570706eb9183 (patch) | |
tree | 9e384317b72afa679ef375f2f77a1d20a0ace2e7 | |
parent | c2abc10526d43659bc325dbdfa3a362d74b82b59 (diff) | |
download | gtk-doc-9d6fd14fbee19a3c3e6e4db7e36e570706eb9183.tar.gz |
Makefile.am: add workarounds for 'make distcheck'
This fixes an automake regression wrt pycache files.
-rw-r--r-- | Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 134b42a..da9b828 100644 --- a/Makefile.am +++ b/Makefile.am @@ -121,8 +121,17 @@ MAINTAINERCLEANFILES = \ RELNOTES.txt \ ChangeLog-?.?? \ gtk-doc-*.tar.xz \ - build-aux \ - __pycache__ gtkdoc/__pycache__ tests/__pycache__ + build-aux + +clean-local: + -find . -name "__pycache__" -type d -exec rm -r "{}" \; + +## We get warnings for left-over files when doing 'make distcheck' +distuninstallcheck_listfiles = find . -type f -print + +# Workaround for automake 1.61 +# https://lists.gnu.org/archive/html/bug-automake/2018-04/msg00002.html +distuninstallcheck_listfiles += | grep -v '__pycache__' -include $(top_srcdir)/git.mk |