diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-06 18:21:25 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-06 18:21:25 +0000 |
| commit | f9039b2ae21988783feae9b362818e7923e82d14 (patch) | |
| tree | 6d6fe3679d73448758f9794e7d4d4f6b22a4adad /makedist | |
| parent | 67e89232f9ba067825a158734a09e0fa21aacbe3 (diff) | |
Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makedist')
| -rwxr-xr-x | makedist | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/makedist b/makedist new file mode 100755 index 000000000..480aa01a3 --- /dev/null +++ b/makedist @@ -0,0 +1,26 @@ +#!/bin/tcsh +# I use tcsh to get the better glob matching. Wish there were a more +# portable way... +# argument to this script is the version number or word like "BETA" + +if ( $1 == "" ) then +echo "Version number needed" +exit 1 +endif + +set f="fltk-$1" +rm -f $f +ln -s . $f + +echo "Making $f.tgz" +tar -cf \ + $f.tar $f/README $f/COPYING $f/version $f/Makefile \ + $f/configure $f/*.in $f/makefiles/* $f/makedist $f/install-sh \ + $f/{src,fluid,FL,test,GL}/{README,Makefile,*.{fl,[CHch],x?m,menu}} \ + $f/documentation/*.{html,gif,jpg} $f/documentation/CHANGES \ + $f/forms.h $f/win32/* $f/lib/... \ + +gzip -f $f.tar +mv $f.tar.gz $f.tgz + +rm -f $f |
