1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#!/bin/bash -ex
# DFSGify a Heimdal snapshot from Git
DST_DIR="$1"
PYTHON=python
if [ -z "$DST_DIR" ]
then
DST_DIR="."
fi
OPWD="$PWD"
cd "$DST_DIR"
quilt pop -a || true
cd "$OPWD"
dstdir="$DST_DIR/lib/wind"
python debian/scripts/rfc3454.py "$dstdir/rfc3454.txt" > "$dstdir/rfc3454.txt.tmp"
mv "$dstdir/rfc3454.txt.tmp" "$dstdir/rfc3454.txt"
pushd "$dstdir"
rm "rfc3490.txt"
rm "rfc3491.txt"
rm "rfc4013.txt"
rm "rfc4518.txt"
popd
pushd "$DST_DIR"
rm -r "doc/doxyout"
popd
|