commit 2a5ff546837e08cf2bd9d8f5e19ba39cbc2fcbfb
parent 022d137b8c469e9bff503f2c8796cb9a2ebe5fe8
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date: Sat, 6 Feb 2010 19:38:12 +0100
fix "make distcheck"
this makes the deb-clean target shadow build safe
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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