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" \
|
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`
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
|
@ -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`
|
||||||
|
|
|
@ -105,7 +105,7 @@ with the release version as its single parameter:<br>
|
||||||
<br>
|
<br>
|
||||||
<pre><code>./bin/dist.sh --version <ls-version><br></code></pre>
|
<pre><code>./bin/dist.sh --version <ls-version><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-<ls-version>.tar.bz2</code></li>
|
<li><code>campcaster-<ls-version>.tar.bz2</code></li>
|
||||||
<li><code>campcaster-libraries-<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
|
<pre>tar xfj campcaster-<ls-version>.tar.bz2
|
||||||
tar xfj campcaster-libraries-<ls-version>.tar.bz2
|
tar xfj campcaster-libraries-<ls-version>.tar.bz2
|
||||||
cd campcaster-<ls-version>
|
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 ..
|
cd ..
|
||||||
</pre>
|
</pre>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in New Issue