bake/dist.sh

15 lines
285 B
Bash
Raw Permalink Normal View History

2024-03-24 16:31:24 -04:00
#!/bin/sh
# distribution tarball
cd "$(dirname "$(readlink -f "$0")")"
FILES='LICENSE README shake install.sh bake.c config.h bake.1'
VERSION="$(cat VERSION)"
TARGET="bake-$VERSION"
mkdir -p $TARGET
cp -f $FILES $TARGET
tar cf $TARGET.tar $TARGET
gzip -f $TARGET.tar
rm -rf $TARGET