X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=make-dist.sh;h=a5d6edb406321da6e01e40142e41a60c579aaa53;hb=0e5e11646e5abe89f73c3e8cf40c9cbaa2cc1383;hp=7934db6be0f3c66800f73f91cf206b4f743e712d;hpb=29c71611dd0d1d6a517bc29c14cfe921e6e1ad56;p=ctsim.git diff --git a/make-dist.sh b/make-dist.sh index 7934db6..a5d6edb 100755 --- a/make-dist.sh +++ b/make-dist.sh @@ -29,18 +29,17 @@ cp -a ${TOPDIR} ${DISTDIR} # Remove junk from distribution dir pushd ${DISTDIR} -make clean +make distclean popd rm -f `find ${DISTDIR} -type f -name .cvsignore` rm -rf `find ${DISTDIR} -type d -name CVS` rm -f `find ${DISTDIR} -type f -name '*~' -or -name '.*~' -or \ - -name '.#*' -or -name '#*#'` + -name '.#*' -or -name '#*#' -or -name '*.fig' -or -name '*.psd'` + +rm -rf ${DISTDIR}/images ${DISTDIR}/copy ${DISTDIR}/make-dist.sh # Create original distribution archives rm -rf ${DISTDIR}/debian -pushd ${DISTDIR} -make distclean -popd GZIP=-9 tar czf ${DISTDIR}.tar.gz ${DISTDIR} unix2dos `find ${DISTDIR} -type f -and -name '*.c' -or -name '*.h' -or \