X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=datapath%2FMakefile.am;h=1c0af40c283da8b93206f7e79b653243da7e988d;hb=47271d0d8d12c5689cd0103dc47b62913a515b36;hp=71e2dc485217d1747987da82e478405928773e48;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/datapath/Makefile.am b/datapath/Makefile.am index 71e2dc48..1c0af40c 100644 --- a/datapath/Makefile.am +++ b/datapath/Makefile.am @@ -10,3 +10,13 @@ AUTOMAKE_OPTIONS = -Wno-portability include Modules.mk include linux-2.6/Modules.mk + +# 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'`; \ + list='$(DISTFILES)'; \ + for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" | sort -u > $@ +CLEANFILES = distfiles