Browse Source

min-dgels: Fix distclean rule for make distcheck

Samuel Thibault 4 years ago
parent
commit
8fb9734516
2 changed files with 2 additions and 0 deletions
  1. 1 0
      configure.ac
  2. 1 0
      min-dgels/Makefile.in

+ 1 - 0
configure.ac

@@ -3043,6 +3043,7 @@ if test x$enable_mlr = xyes -a "$starpu_windows" != "yes" ; then
 				else
 					if test ! -d $PWD/min-dgels; then
 						cp -r $srcdir/min-dgels $PWD/
+						rm -f $PWD/min-dgels/Makefile.in
 						chmod +rwX -R $PWD/min-dgels
 					fi
 					AC_MSG_RESULT(yes)

+ 1 - 0
min-dgels/Makefile.in

@@ -25,6 +25,7 @@ clean:
 	rm -rf build *~
 
 distclean: clean
+	[ -f Makefile.in ] || rm -fr $(CLAPACK) $(ADDITIONAL)
 
 # This part is needed by StarPU