X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=1b861fb2a55494861c322fb741912d4da9e2f434;hb=a74ac710e3cd2b6a52fd763ab31ce68e83f21dfe;hp=106c08fd0ecd60c194850f735b29365df3194511;hpb=89b2ecdde19553295888a173eeff8085e206bcda;p=pspp diff --git a/Makefile.am b/Makefile.am index 106c08fd0e..1b861fb2a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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