From a648ea60ee05c3714070c0de17efd82eac7d6dc3 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 8 Jul 2007 21:36:12 -0400 Subject: 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" --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index a1ce56b9..bb3f1d3b 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 -- cgit v1.2.3