netmapr/dist.sh

15 lines
356 B
Bash
Raw Normal View History

2005-10-25 16:35:55 +10:00
#!/bin/sh
VERSION=`cat constants.h | grep VERSION | awk '{ v=$3; gsub("\"","",v); print v }'`
FULLNAME=netmapr-${VERSION}
TARFILE=${FULLNAME}.tar.gz
mkdir ${FULLNAME}
cp Makefile Makefile.linux Makefile.freebsd Makefile.windows *.dat netmapr.c netmapr.h constants.h convert.c convert.h ${FULLNAME}/
2005-10-25 16:35:55 +10:00
tar zcvf ${TARFILE} ${FULLNAME}
rm -rf ${FULLNAME}