1#!/bin/sh
2# This script is used by the author to make a tar.gz package
3
4VERSION=`cat src/version.h | tr -d '"' | awk '/smsd_version/ {print $3}'`
5PACKAGE=smstools3-$VERSION.tar.gz
6
7cd ..
8tar -chzf $PACKAGE --exclude='*~' --exclude='*.bak' --exclude='*.pdf' --exclude='*.tar.gz' smstools3
9echo "Package $PACKAGE created"
10