minor script + documentation improvements
This commit is contained in:
parent
82f2dc63d4
commit
6990e0e9e8
|
@ -222,8 +222,8 @@ cp -pPR $etcdir/debian $packageName
|
|||
cat $etcdir/debian/control | sed -e "$replace_sed_string" \
|
||||
> $packageName/debian/control
|
||||
|
||||
# get rid of the remnants of the CVS system
|
||||
rm -rf `find $packageName -name CVS -type d`
|
||||
# get rid of the remnants of the subversion system
|
||||
rm -rf `find $packageName -name .svn -type d`
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
|
@ -61,7 +61,7 @@ printUsage()
|
|||
echo "parameters";
|
||||
echo "";
|
||||
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 " -v, --version The version number of the created packages.";
|
||||
echo "";
|
||||
|
@ -103,7 +103,7 @@ if [ "x$version" == "x" ]; then
|
|||
fi
|
||||
|
||||
if [ "x$directory" == "x" ]; then
|
||||
directory=`pwd`;
|
||||
directory=`pwd`/..;
|
||||
fi
|
||||
|
||||
d=`cd $directory; pwd`
|
||||
|
|
|
@ -105,7 +105,7 @@ with the release version as its single parameter:<br>
|
|||
<br>
|
||||
<pre><code>./bin/dist.sh --version <ls-version><br></code></pre>
|
||||
<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>
|
||||
<li><code>campcaster-<ls-version>.tar.bz2</code></li>
|
||||
<li><code>campcaster-libraries-<ls-version>.tar.bz2</code></li>
|
||||
|
@ -132,7 +132,8 @@ plus two more needed for the build process: <code>debhelper</code> and
|
|||
<pre>tar xfj campcaster-<ls-version>.tar.bz2
|
||||
tar xfj campcaster-libraries-<ls-version>.tar.bz2
|
||||
cd campcaster-<ls-version>
|
||||
./bin/createDebianPackages.sh -d .. -v <ls-version> -m "Package Maintainer <maintainer@foo.bar>" -o ..
|
||||
./bin/createDebianPackages.sh -d .. -v <ls-version> -o .. \
|
||||
-m "Package Maintainer <maintainer@foo.bar>"
|
||||
cd ..
|
||||
</pre>
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue