dev/debian-build/dbuild
changeset 334 b7e56688dd14
parent 328 311989e24f27
child 335 0d15506351db
equal deleted inserted replaced
333:2e97efae4373 334:b7e56688dd14
    15 echo UPSTREAM_VERSION $UPSTREAM_VERSION
    15 echo UPSTREAM_VERSION $UPSTREAM_VERSION
    16 echo BUILDDIR $BUILDDIR
    16 echo BUILDDIR $BUILDDIR
    17 
    17 
    18 rm -rf ${BUILDDIR}
    18 rm -rf ${BUILDDIR}
    19 mkdir -p ${BUILDDIR}
    19 mkdir -p ${BUILDDIR}
    20 hg st -mac0n -X '.hg*' -X 'dev/**' -X 'debian/**' | \
    20 hg st -mac0n -X '.hg*' -X 'dev/**' -X 'debian/**' | cpio -p -0 -d \
    21     cpio -o -0 -H ustar | gzip --best > \
    21    ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    22    ${BUILDDIR}/${PACKAGE}_${UPSTREAM_VERSION}.orig.tar.gz
    22 (cd ${BUILDDIR} ; tar cvzf \
    23 hg st -mac0n -X '.hg*' -X 'dev/**' | cpio -p -0 -d \
    23    ${PACKAGE}_${UPSTREAM_VERSION}.orig.tar.gz \
       
    24    ${PACKAGE}-${UPSTREAM_VERSION} )
       
    25 hg st -mac0n -I 'debian/**' | cpio -p -0 -d \
    24    ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    26    ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    25 
    27 
    26 cd ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    28 cd ${BUILDDIR}/${PACKAGE}-${UPSTREAM_VERSION}
    27 #dpkg-buildpackage -kFD56DDC0
    29 #dpkg-buildpackage -kFD56DDC0
    28 dpkg-buildpackage
    30 dpkg-buildpackage