X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=make-dist.sh;h=d45b238fde9455930beb7ba95c00cebef100588b;hb=be87188ff00d08c1e3a98aaedbedc08ebb203f11;hp=cd649b2a83ae1cd94134e7983d2cec64bc05e5a3;hpb=4a7c5538eb588e8a0beb83901f09407a7f9ae5e4;p=ctsim.git diff --git a/make-dist.sh b/make-dist.sh index cd649b2..d45b238 100755 --- a/make-dist.sh +++ b/make-dist.sh @@ -36,6 +36,9 @@ find ${DISTDIR}/doc -type f -name \*.tex -or -name \*.aux -or \ # Create original distribution archives rm -rf ${DISTDIR}/debian +cd ${DISTDIR} +make distclean +cd .. GZIP=-9 tar czf ${DISTDIR}.tar.gz ${DISTDIR} find ${DISTDIR} -type f -and -name \*.c -or -name \*.h -or -name \*.list -or \ @@ -53,11 +56,11 @@ if [ "${DISTDIR}" != "${DEBDIR}" ]; then fi cp -a ${TOPDIR}/debian ${DEBDIR} +cp ${DISTDIR}.tar.gz ${PKG}_${VERSION}.orig.tar.gz cd ${DEBDIR} dpkg-buildpackage -rfakeroot -kkevin@b9.com -a - cd .. -rm -rf $DEBDIR} +# rm -rf ${DEBDIR} lintian ${DEBPKG}_${VERSION}-*.changes