Changeset 6836b54 for debian


Ignore:
Timestamp:
Nov 18, 2010 11:52:43 PM (10 years ago)
Author:
HungryHobo <HungryHobo@…>
Branches:
master
Children:
118872a
Parents:
457e1d2
Message:

Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/buildpackage.sh

    r457e1d2 r6836b54  
    88builddir="packages/$1/i2p-${VERSION}"
    99
     10# dpkg-buildpackage doesn't have an option to change the output directory,
     11# so copy or symlink i2p.i2p in ${builddir} and call dpkg-buildpackage
     12# in that directory. The output files are generated one directory above.
    1013if [ "$1" = "source" ]; then
    1114    cd ..
    1215    ant clean
     16    # dpkg-source (called by dpkg-buildpackage) can't handle symlinks, so copy the i2p.i2p tree
    1317    tempdir=../_i2p_copy_temp___
    1418    cp -a . ${tempdir}
     
    2024    mkdir -p ${builddir}
    2125    cd ${builddir}
     26    # make symlinks for all files and dirs in i2p.i2p
    2227    find ../../../.. -not -name . -and -not -name .. -maxdepth 1 -exec ln -fs {} \;
    2328    dpkg-buildpackage -I_MTN -b -a$1
Note: See TracChangeset for help on using the changeset viewer.