Browse Source

distrib

tags/v20240302
Emil Williams 1 month ago
parent
commit
a6cc06f8b1
2 changed files with 15 additions and 0 deletions
  1. +14
    -0
      dist.sh
  2. +1
    -0
      install.sh

+ 14
- 0
dist.sh 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

+ 1
- 0
install.sh View File

@@ -1,4 +1,5 @@
#!/bin/sh
# source install

TARGET=${TARGET:-/usr/local}
INSTALL=${INSTALL:-bake shake}


Loading…
Cancel
Save