Browse CVS Repository
Contents of /samurai-graph/samurai-graph/HowToCreateSourceDist.txt
Parent Directory
| Revision Log
| Revision Graph
Revision 1.3 -
( show annotations)
( download)
Wed Feb 22 01:56:59 2006 UTC
(18 years ago)
by orrisroot
Branch: MAIN
CVS Tags: RELEASE_2_0_0, RELENG_2_BP, RELENG_1_BP, RELEASE_1_0_6, RELEASE_1_0_7, RELEASE_1_0_5, RELENG_3_BP, HEAD
Branch point for: RELENG_2, RELENG_3, RELENG_1
Changes since 1.2: +7 -2 lines
File MIME type: text/plain
modified how to create source distribution document to convenient shell script.
| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
test -d tmp && exit 1 |
| 4 |
mkdir tmp |
| 5 |
|
| 6 |
cd tmp |
| 7 |
cvs -d cvs.sourceforge.jp:/cvsroot/samurai-graph co -P samurai-graph |
| 8 |
cd samurai-graph |
| 9 |
version=`grep "samurai-graph.version" src/resources/samurai-graph.properties | sed -e "s+^samurai-graph.version=++g" -e 's+.$++'` |
| 10 |
rm -rf `find . -name '*.jar'` |
| 11 |
rm -rf `find . -name '*.exe'` |
| 12 |
rm -rf `find . -name '*.dll'` |
| 13 |
rm -rf `find . -name 'CVS' -type d` |
| 14 |
cd .. |
| 15 |
mv samurai-graph samurai-graph-src-$version |
| 16 |
zip -9 -r samurai-graph-src-$version.zip samurai-graph-src-$version |
|