From: Theodore Ts'o Date: Mon, 9 Jul 2007 01:36:12 +0000 (-0400) Subject: Fix up Lintain complaint about the "make distclean" ignoring errors X-Git-Tag: v1.40.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a648ea60ee05c3714070c0de17efd82eac7d6dc3;p=thirdparty%2Fe2fsprogs.git Fix up Lintain complaint about the "make distclean" ignoring errors This is a Debian-specific debian/rules change, just to clean up the packaging script. Signed-off-by: "Theodore Ts'o" --- diff --git a/debian/rules b/debian/rules index a1ce56b9f..bb3f1d3bb 100755 --- a/debian/rules +++ b/debian/rules @@ -191,8 +191,8 @@ ${BUILDBFSTAMP}: ${CFGBFSTAMP} clean: dh_testdir rm -rf ${STAMPSDIR} - -make -C ${stdbuilddir} -i distclean - -make -C ${bfbuilddir} -i distclean + [ ! -f ${stdbuilddir}/Makefile ] || make -C ${stdbuilddir} distclean + [ ! -f ${bfbuilddir}/Makefile ] || make -C ${bfbuilddir} distclean rm -rf ${stdbuilddir} ${bfbuilddir} ${mipsbuilddir} ${mipsbuilddir64} rm -f doc/libext2fs/*.html lib/et/com_err/*.html debian/*.substvars dh_clean