I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 6836b548 authored by HungryHobo's avatar HungryHobo
Browse files

Comments

parent 457e1d29
No related branches found
No related tags found
No related merge requests found
...@@ -7,9 +7,13 @@ VERSION=`grep String\ VERSION ../core/java/src/net/i2p/CoreVersion.java | cut -d ...@@ -7,9 +7,13 @@ VERSION=`grep String\ VERSION ../core/java/src/net/i2p/CoreVersion.java | cut -d
echo "I2P Version: ${VERSION}" echo "I2P Version: ${VERSION}"
builddir="packages/$1/i2p-${VERSION}" builddir="packages/$1/i2p-${VERSION}"
# dpkg-buildpackage doesn't have an option to change the output directory,
# so copy or symlink i2p.i2p in ${builddir} and call dpkg-buildpackage
# in that directory. The output files are generated one directory above.
if [ "$1" = "source" ]; then if [ "$1" = "source" ]; then
cd .. cd ..
ant clean ant clean
# dpkg-source (called by dpkg-buildpackage) can't handle symlinks, so copy the i2p.i2p tree
tempdir=../_i2p_copy_temp___ tempdir=../_i2p_copy_temp___
cp -a . ${tempdir} cp -a . ${tempdir}
mkdir -p debian/packages/$1 mkdir -p debian/packages/$1
...@@ -19,6 +23,7 @@ if [ "$1" = "source" ]; then ...@@ -19,6 +23,7 @@ if [ "$1" = "source" ]; then
else else
mkdir -p ${builddir} mkdir -p ${builddir}
cd ${builddir} cd ${builddir}
# make symlinks for all files and dirs in i2p.i2p
find ../../../.. -not -name . -and -not -name .. -maxdepth 1 -exec ln -fs {} \; find ../../../.. -not -name . -and -not -name .. -maxdepth 1 -exec ln -fs {} \;
dpkg-buildpackage -I_MTN -b -a$1 dpkg-buildpackage -I_MTN -b -a$1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment