mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
20 lines
313 B
Text
20 lines
313 B
Text
|
#!/bin/sh
|
||
|
|
||
|
rm -rf ../9tmp
|
||
|
mkdir ../9tmp
|
||
|
mkdir ../9pkg
|
||
|
cp -R * ../9tmp
|
||
|
cd ../9tmp
|
||
|
rm -rf `find . -name CVS`
|
||
|
rm lib/*
|
||
|
rm */*.o
|
||
|
rm */*.a
|
||
|
rm mk/mk
|
||
|
rm sam/sam
|
||
|
rm man/*/*
|
||
|
for i in libfmt libbio lib9 libthread libutf libregexp sam mk
|
||
|
do
|
||
|
tar cf - $i |gzip >../9pkg/$i.tar.gz
|
||
|
done
|
||
|
tar cf - . | gzip > ../9pkg/all.tar.gz
|