distrib
This commit is contained in:
parent
451ee89a6a
commit
a6cc06f8b1
14
dist.sh
Executable file
14
dist.sh
Executable 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
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
# source install
|
||||
|
||||
TARGET=${TARGET:-/usr/local}
|
||||
INSTALL=${INSTALL:-bake shake}
|
||||
|
Loading…
Reference in New Issue
Block a user