瀏覽代碼

fix for empty dsm directory, create Makefile with empty dist and distdir rules

Nathalie Furmento 7 年之前
父節點
當前提交
b88a5880a5
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 0 2
      Makefile.am
  2. 3 0
      configure.ac

+ 0 - 2
Makefile.am

@@ -63,8 +63,6 @@ if STARPU_BUILD_SC_HYPERVISOR
 SUBDIRS += sc_hypervisor
 endif
 
-DIST_SUBDIRS = $(SUBDIRS)
-
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libstarpu.pc starpu-1.0.pc starpu-1.1.pc starpu-1.2.pc starpu-1.3.pc
 

+ 3 - 0
configure.ac

@@ -420,6 +420,9 @@ if test x$dsm_included != xyes; then
         if test x$enable_dsm = xyes; then
                 AC_MSG_ERROR(StarPU DSM library generation needs DSM source in STARPU/dsm subdirectory)
         fi
+	mkdir -p dsm
+	echo "dist:" > ./dsm/Makefile
+	echo "distdir:" >> ./dsm/Makefile
         enable_dsm=no
 fi