Develop and Download Open Source Software

Browse CVS Repository

Annotation of /samurai-graph/samurai-graph/HowToCreateSourceDist.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Wed Feb 22 01:56:59 2006 UTC (18 years, 1 month 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 orrisroot 1.3 #!/bin/sh
2    
3     test -d tmp && exit 1
4 orrisroot 1.1 mkdir tmp
5 orrisroot 1.3
6 orrisroot 1.1 cd tmp
7     cvs -d cvs.sourceforge.jp:/cvsroot/samurai-graph co -P samurai-graph
8     cd samurai-graph
9 orrisroot 1.3 version=`grep "samurai-graph.version" src/resources/samurai-graph.properties | sed -e "s+^samurai-graph.version=++g" -e 's+.$++'`
10 orrisroot 1.1 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 orrisroot 1.3 mv samurai-graph samurai-graph-src-$version
16     zip -9 -r samurai-graph-src-$version.zip samurai-graph-src-$version

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26