X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-upstream.sh;fp=debian%2Fmake-upstream.sh;h=2c469c8584c8dbae187bf81400e3916384d6d07a;hb=56cd7ce301909905120f5b5f8b33def2f3407015;hp=8cc553168d255b192f7a7a07b477ab15c8885327;hpb=13ecf79da1a026af9504ef65eb9bd9be5e64431a;p=ctsim.git diff --git a/debian/make-upstream.sh b/debian/make-upstream.sh index 8cc5531..2c469c8 100755 --- a/debian/make-upstream.sh +++ b/debian/make-upstream.sh @@ -45,7 +45,7 @@ cp -a ${WORK_DIR} ${DISTDIR} echo "Cleaning distribution directory ${DISTDIR}" cd ${DISTDIR} -make distclean +test Makefile && make distclean > /dev/null 2>&1 rm -f `find . -type f -name .cvsignore` rm -rf `find . -type d -name CVS -or -name .deps` rm -f `find . -type f -name '*~' -or -name '.#*' -or -name '#*#' -or -name ".*~" -or -name "*.o" -or -name "*.a"`