This commit is contained in:
Emil Williams 2024-03-24 20:31:24 +00:00
parent 451ee89a6a
commit a6cc06f8b1
2 changed files with 15 additions and 0 deletions

14
dist.sh Executable file
View File

@ -0,0 +1,14 @@
#!/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

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# source install
TARGET=${TARGET:-/usr/local} TARGET=${TARGET:-/usr/local}
INSTALL=${INSTALL:-bake shake} INSTALL=${INSTALL:-bake shake}