avoid adding junk to tar files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@128 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
82dadfcf8e
commit
1fa2287f31
@ -30,9 +30,9 @@ splat() {
|
||||
. distribute --small
|
||||
cp $YAP_DIR/../"$version".tar.gz $PAGE_DIR/"$version"-small.tar.gz
|
||||
cd /usr/src/RPM/SPECS
|
||||
cp $YAP_DIR/misc/yap.spec .
|
||||
cp $YAP_DIR/misc/Yap.spec .
|
||||
mv $YAP_DIR/../"$version".tar.gz ../SOURCES
|
||||
rpm -ba yap.spec
|
||||
rpm -ba Yap.spec
|
||||
cd /usr/src/RPM
|
||||
mv SRPMS/Yap* $PAGE_DIR
|
||||
mv RPMS/*/Yap* $PAGE_DIR
|
||||
|
20
distribute
20
distribute
@ -41,9 +41,25 @@ cd ../pl
|
||||
splat
|
||||
cd ../CLPQR
|
||||
splat
|
||||
cd ../CHR
|
||||
cd clpq
|
||||
splat
|
||||
cd ../..
|
||||
cd ../clpqr
|
||||
splat
|
||||
cd examples
|
||||
splat
|
||||
cd SESSION
|
||||
splat
|
||||
cd ../monash
|
||||
splat
|
||||
cd ../../../clpr
|
||||
splat
|
||||
cd ../../CHR
|
||||
splat
|
||||
cd chr
|
||||
splat
|
||||
cd examples
|
||||
splat
|
||||
cd ../../../..
|
||||
if test "$1" = "--small"; then
|
||||
tar cvzf "$version".tar.gz "$version"/{INSTALL,README*,changes*,config*,install-sh,Makefile.in,.depend.in,distribute,C,H,VC,console,docs,include,library,m4,misc,pl,LGPL/README,LGPL/CVS,LGPL/pillow/[C-Z]*,LGPL/pillow/*.pl,LGPL/pillow/doc/*info*,build-distr,OPTYap,CLPQR,CHR}
|
||||
else
|
||||
|
Reference in New Issue
Block a user