From 2a5ff546837e08cf2bd9d8f5e19ba39cbc2fcbfb Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 6 Feb 2010 19:38:12 +0100 Subject: [PATCH] fix "make distcheck" this makes the deb-clean target shadow build safe --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d5a900c..a6978b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,8 +12,9 @@ deb: CFLAGS="-O2 -mcpu=i686" fakeroot debian/rules binary deb-clean: - dh_clean -Xsrc/ - fakeroot debian/rules unpatch + cd $(srcdir) && \ + dh_clean -Xsrc/ && \ + fakeroot debian/rules unpatch distdir distclean: deb-clean