浏览代码

doc: add tutorial in tarball, and also install it

Nathalie Furmento 11 年之前
父节点
当前提交
1b48f7c649
共有 3 个文件被更改,包括 29 次插入1 次删除
  1. 1 1
      Makefile.am
  2. 1 0
      configure.ac
  3. 27 0
      doc/Makefile.am

+ 1 - 1
Makefile.am

@@ -21,7 +21,7 @@ SUBDIRS = src
 SUBDIRS += tools tests
 
 if BUILD_DOC
-SUBDIRS += doc/doxygen
+SUBDIRS += doc
 endif
 
 if USE_MPI

+ 1 - 0
configure.ac

@@ -2382,6 +2382,7 @@ AC_OUTPUT([
 	sc_hypervisor/Makefile
 	sc_hypervisor/src/Makefile
 	sc_hypervisor/examples/Makefile
+	doc/Makefile
 	doc/doxygen/Makefile
 	doc/doxygen/doxygen-config.cfg
 	doc/doxygen/doxygen_filter.sh

+ 27 - 0
doc/Makefile.am

@@ -0,0 +1,27 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2013  Centre National de la Recherche Scientifique
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+#
+# See the GNU Free Documentation License in COPYING.GFDL for more details.
+
+SUBDIRS = doxygen
+
+EXTRA_DIST =    tutorial/hello_world.c \
+		tutorial/hello_world_plugin.c \
+		tutorial/Makefile \
+		tutorial/README \
+		tutorial/vector_scal.c \
+		tutorial/vector_scal_cpu.c \
+		tutorial/vector_scal_cuda.cu \
+		tutorial/vector_scal_opencl.c \
+		tutorial/vector_scal_opencl_kernel.cl \
+		tutorial/vector_scal_plugin.c \
+		tutorial/vector_scal_plugin_cuda.cu
+
+txtdir = ${docdir}/tutorial
+txt_DATA = $(EXTRA_DIST)