From: Pekka Riikonen Date: Thu, 31 May 2007 17:24:41 +0000 (+0000) Subject: Added. X-Git-Tag: autodist.1.3.2~3 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=31a4870218f9e8dbf85dda24442d3e6740ee807d Added. --- diff --git a/distdir/autodist-post-process-dist b/distdir/autodist-post-process-dist new file mode 100644 index 00000000..1d17dbfd --- /dev/null +++ b/distdir/autodist-post-process-dist @@ -0,0 +1,18 @@ +#!/bin/sh + +distribution=$1 +dist_version=$2 +package=$3 +distdir=$4 + +# Remove all CVS directories, as some may be left when we put directories +# in EXTRA_DIST or 'include' them in distribution. + +if test -d $distdir; then + rm -rf `find $distdir -name CVS` + rm -rf `find $distdir -name Makefile` +fi + +sed -e "s/AUTODIST_VERSION/$dist_version/" apps/autodist/autodist.spec.in \ + > $distdir/autodist.spec +