minor script + documentation improvements

This commit is contained in:
fgerlits 2006-12-04 14:50:30 +00:00
parent 82f2dc63d4
commit 6990e0e9e8
3 changed files with 7 additions and 6 deletions

View File

@ -222,8 +222,8 @@ cp -pPR $etcdir/debian $packageName
cat $etcdir/debian/control | sed -e "$replace_sed_string" \ cat $etcdir/debian/control | sed -e "$replace_sed_string" \
> $packageName/debian/control > $packageName/debian/control
# get rid of the remnants of the CVS system # get rid of the remnants of the subversion system
rm -rf `find $packageName -name CVS -type d` rm -rf `find $packageName -name .svn -type d`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View File

@ -61,7 +61,7 @@ printUsage()
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -d, --directory Place the tarballs in the specified directory."; echo " -d, --directory Place the tarballs in the specified directory.";
echo " [default: current directory]"; echo " [default: the parent of the current directory]";
echo " -h, --help Print this message and exit."; echo " -h, --help Print this message and exit.";
echo " -v, --version The version number of the created packages."; echo " -v, --version The version number of the created packages.";
echo ""; echo "";
@ -103,7 +103,7 @@ if [ "x$version" == "x" ]; then
fi fi
if [ "x$directory" == "x" ]; then if [ "x$directory" == "x" ]; then
directory=`pwd`; directory=`pwd`/..;
fi fi
d=`cd $directory; pwd` d=`cd $directory; pwd`

View File

@ -105,7 +105,7 @@ with the release version as its single parameter:<br>
<br> <br>
<pre><code>./bin/dist.sh --version &lt;ls-version&gt;<br></code></pre> <pre><code>./bin/dist.sh --version &lt;ls-version&gt;<br></code></pre>
<br> <br>
This will create two tarballs in the current directory:<br> This will create two tarballs in the parent of the current directory:<br>
<ul> <ul>
<li><code>campcaster-&lt;ls-version&gt;.tar.bz2</code></li> <li><code>campcaster-&lt;ls-version&gt;.tar.bz2</code></li>
<li><code>campcaster-libraries-&lt;ls-version&gt;.tar.bz2</code></li> <li><code>campcaster-libraries-&lt;ls-version&gt;.tar.bz2</code></li>
@ -132,7 +132,8 @@ plus two more needed for the build process: <code>debhelper</code> and
<pre>tar xfj campcaster-&lt;ls-version&gt;.tar.bz2 <pre>tar xfj campcaster-&lt;ls-version&gt;.tar.bz2
tar xfj campcaster-libraries-&lt;ls-version&gt;.tar.bz2 tar xfj campcaster-libraries-&lt;ls-version&gt;.tar.bz2
cd campcaster-&lt;ls-version&gt; cd campcaster-&lt;ls-version&gt;
./bin/createDebianPackages.sh -d .. -v &lt;ls-version&gt; -m "Package Maintainer &lt;maintainer@foo.bar&gt;" -o .. ./bin/createDebianPackages.sh -d .. -v &lt;ls-version&gt; -o .. \
-m "Package Maintainer &lt;maintainer@foo.bar&gt;"
cd .. cd ..
</pre> </pre>
<br> <br>