summaryrefslogtreecommitdiff
path: root/source4/heimdal/fix-export
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/fix-export')
-rwxr-xr-xsource4/heimdal/fix-export21
1 files changed, 9 insertions, 12 deletions
diff --git a/source4/heimdal/fix-export b/source4/heimdal/fix-export
index 4f25ea0b74..b49c0de1d3 100755
--- a/source4/heimdal/fix-export
+++ b/source4/heimdal/fix-export
@@ -1,10 +1,11 @@
#! /bin/sh
-# $Id: fix-export,v 1.38 2005/07/05 14:00:51 lha Exp $
+# $Id: fix-export,v 1.39 2005/08/11 08:57:52 lha Exp $
-echo "fixing distribution in $1..."
+distdir="$1"
+echo "fixing distribution in $distdir..."
-test -d "$1" || { echo not a dir in \$1 ; exit 1 ; }
-cd $1
+test -d "$distdir" || { echo not a dir in \$distdir ; exit 1 ; }
+cd $distdir
if test "$DATEDVERSION"; then
ed -s configure.in << END
@@ -26,11 +27,6 @@ echo "$M" | sed -e 's/./*/g'
echo "$M"
echo "$M" | sed -e 's/./*/g'
-ed -s configure.in << END
-/test -z/s,^,#,
-w
-q
-END
autoreconf --force --install
(cd doc && makeinfo heimdal.texi)
@@ -76,7 +72,8 @@ make_proto appl/login login_protos.h /dev/null '$(login_SOURCES)'
make_proto kcm kcm_protos.h /dev/null '$(kcm_SOURCES)'
make_proto kdc kdc-protos.h /dev/null '$(libkdc_la_SOURCES)'
-rm fix-export make-release make-release.el
-find . -name .cvsignore -print | xargs rm
-find . -name .__afs\* -print | xargs rm
rm -fr autom4te*.cache
+
+echo "tar cf - ${distdir} \| gzip -9 > ${distdir}.tar.gz"
+echo "gpg -ba -u 0x45D901D8 ${distdir}.tar.gz"
+