summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-07-08 21:36:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2007-07-08 21:36:43 -0400
commita648ea60ee05c3714070c0de17efd82eac7d6dc3 (patch)
treefab68d40450653217edc41e884687eebc014bcf2 /debian/rules
parent58b3df7e3da671ee61467f227a788686c668ae2f (diff)
downloade2fsprogs-a648ea60ee05c3714070c0de17efd82eac7d6dc3.tar.gz
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" <tytso@mit.edu>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
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