diff --git a/Makefile.am b/Makefile.am index f50b681fba..3c04a232aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -150,7 +150,7 @@ distcheck-hook: e='yes'; \ fi; \ done; \ - for X in `grep -v \# ${distdir}/po/POTFILES.skip` ; do \ + for X in `grep -v '\(^\#\|.scm\$\)' ${distdir}/po/POTFILES.skip` ; do \ if [ -f ${distdir}/$$X ] ; then \ echo $$X " is in POTFILES.skip but also in the dist.";\ e='yes'; \