summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am24
3 files changed, 27 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 031ffd6..48e7118 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,3 +6,5 @@ godir=$(libdir)/guile/2.0/ccache
SOURCES = $(wildcard 2d/*.scm 2d/*/*.scm)
EXTRA_DIST += env.in
+
+SUBDIRS = doc
diff --git a/configure.ac b/configure.ac
index f903879..fbaf891 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ else
AC_MSG_ERROR([Guile 2.0 required.])
fi
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile doc/Makefile])
AC_CONFIG_FILES([env], [chmod +x env])
PKG_CHECK_MODULES([SDL], [sdl <= 1.3 sdl >= 1.2])
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..f69f391
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,24 @@
+AUTOMAKE_OPTIONS = gnu
+
+info_TEXINFOS = guile-2d.texi
+
+guile_TEXINFOS = audio.texi \
+ fdl.texi \
+ game.texi \
+ graphics.texi \
+ graphics/animation.texi \
+ graphics/color.texi \
+ graphics/font.texi \
+ graphics/sprite.texi \
+ graphics/texture.texi \
+ graphics/tileset.texi \
+ guile-2d.texi \
+ introduction.texi \
+ math.texi \
+ math/math.texi \
+ math/rect.texi \
+ math/vector2.texi \
+ scripting.texi \
+ scripting/actions.texi \
+ scripting/agenda.texi \
+ scripting/coroutine.texi