]> www.wagner.pp.ru Git - oss/fgis.git/blob - maketar
First checked in version
[oss/fgis.git] / maketar
1 #!/bin/sh
2 # @(#) maketar - packs all files, neccessary to bring source distribution
3 # @(#) of fGIS to another machine
4 # This stuff should go to toplevel Makefile eventually, when I create one
5
6
7 # year omitted, becouse file name should fit in msdos file system
8 tarname=`date +fgis%m%d.tgz`
9
10 # search directories, where something like core files or object files could
11 # occur
12 files=`find lib include dll man -type f \! -name core \! -name '*.o' \! -perm +0111  \! -name '*,v' \! -name '*.a'`
13 tclfiles=`find tcl -type f \! -name core \! -path "*/RCS/*"`
14 docfiles=`find doc -type f \! -name "*.bak" \! -path "*/RCS/*" \! -name "*.bak"\
15  \! -name "*.dvi" \! -name "*.aux" \! -name "*.i??" \! -name "*.log"`
16 tar czvf $tarname $files fgis.rc $tclfiles $docfiles colors symbols testdata pkgIndex.tcl maketar TODO Makefile