dev/debian-build/dbuild
branchdebian
changeset 281 7d59a0f92c78
parent 280 9a171c093f61
child 314 c02eae7665af
equal deleted inserted replaced
280:9a171c093f61 281:7d59a0f92c78
    17 echo UPSTREAM $UPSTREAM
    17 echo UPSTREAM $UPSTREAM
    18 echo BUILDDIR $BUILDDIR
    18 echo BUILDDIR $BUILDDIR
    19 
    19 
    20 rm -rf ${BUILDDIR}
    20 rm -rf ${BUILDDIR}
    21 mkdir -p ${BUILDDIR}
    21 mkdir -p ${BUILDDIR}
    22 hg archive -X '.hg*' -t tgz -r ${UPSTREAM} \
    22 hg archive -X '.hg*' -X 'dev/**' -t tgz -r ${UPSTREAM} \
    23    ${BUILDDIR}/${PACKAGE}_${UPSTREAM_VERSION}.orig.tar.gz
    23    ${BUILDDIR}/${PACKAGE}_${UPSTREAM_VERSION}.orig.tar.gz
    24 hg st -mac0n -X '.hg*' | cpio -p -0 -d \
    24 hg st -mac0n -X '.hg*' -X 'dev/**' | cpio -p -0 -d \
    25    ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    25    ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    26 
    26 
    27 cd ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    27 cd ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    28 #dpkg-buildpackage -kFD56DDC0
    28 #dpkg-buildpackage -kFD56DDC0
    29 dpkg-buildpackage
    29 dpkg-buildpackage
    30 cd ..
    30 cd ..
    31 lintian -i --pedantic -IE ${PACKAGE}_${DEBIAN_VERSION}_*.changes
    31 lintian -i --pedantic -IE ${PACKAGE}_${DEBIAN_VERSION}_*.changes
    32 sudo pbuilder --build ${PACKAGE}_${DEBIAN_VERSION}.dsc 
    32 #sudo pbuilder --build ${PACKAGE}_${DEBIAN_VERSION}.dsc 
    33 
    33