Exclude binaries and other stuff from archive

This commit is contained in:
Stas Degteff 2010-03-14 18:43:56 +00:00
parent 69493f5724
commit b861fa5d0d

View File

@ -18,11 +18,15 @@ cd .. ; tar -jcf ${name} \
--exclude golded+/bin \
--exclude golded+/Release \
--exclude golded+/Debug \
--exclude golded+/debian/golded+ \
--exclude golded+/windows/obj \
--exclude 'golded+/*.bat' \
--exclude 'golded+/*.BAT' \
--exclude 'golded+/*.cmd' \
--exclude 'golded+/*.CMD' \
--exclude 'mygolded.h' \
--exclude '.#*' \
--exclude 'cscope.out' \
--exclude '*.orig' \
--exclude 'bld*.inc' \
--exclude '*.diff' \
@ -39,7 +43,7 @@ cd .. ; tar -jcf ${name} \
--exclude '*.exe' \
--exclude '*.a' \
--exclude '*.o' \
--exclude '*.*~' \
--exclude '**~' \
golded+
cp ${name} ${shortname}
ln ${name} ${shortname} || cp ${name} ${shortname}