tools/makesnap
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # the directory above the source tree |
| 4 | parent=/home/cottrell/stats/esl |
| 5 | |
| 6 | version=$(date +%Y%m%d) |
| 7 | versiondir=gretl-${version} |
| 8 | tarfile="gretl-source.tar.xz" |
| 9 | |
| 10 | echo "making dist file for gretl $version using filename $tarfile" |
| 11 | |
| 12 | # make the distribution archive |
| 13 | cd $parent |
| 14 | echo "making archive..." |
| 15 | mv gretl-git ${versiondir} |
| 16 | rm -f $tarfile |
| 17 | tar cvJfX $tarfile tar_exclude ${versiondir} |
| 18 | mv ${versiondir} gretl-git |