X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=725ee506240365b4764d1bb2ae7a17fa11f5e838;hb=a9e5621ea36156f1855bfa701f9fae07a648c844;hp=106c08fd0ecd60c194850f735b29365df3194511;hpb=89b2ecdde19553295888a173eeff8085e206bcda;p=pspp diff --git a/Makefile.am b/Makefile.am index 106c08fd0e..725ee50624 100644 --- a/Makefile.am +++ b/Makefile.am @@ -117,7 +117,7 @@ ALL_LOCAL += dist-hook-git dist-hook-git: distfiles @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \ (cd $(srcdir) && git ls-files) \ - | grep -vE '\.gitignore|README.Git|Smake' \ + | grep -vE '\.gitignore|README.Git|Smake|Bug-administration' \ | LC_ALL=C sort -u > gitfiles; \ LC_ALL=C comm -1 -3 distfiles gitfiles > missing-distfiles; \ if test -s missing-distfiles; then \ @@ -128,11 +128,11 @@ dist-hook-git: distfiles fi # The following is based on commands for the Automake "distdir" target. distfiles: Makefile - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + @srcdirstrip=`echo "$(srcdir)" | $(SED) 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | $(SED) 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ + $(SED) -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \ | LC_ALL=C sort -u > $@ CLEANFILES += distfiles gitfiles missing-distfiles