浏览代码

fix "make distcheck"

this makes the deb-clean target shadow build safe
Oswald Buddenhagen 15 年之前
父节点
当前提交
2a5ff54683
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Makefile.am

+ 3 - 2
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