Syntax error fixed
[geiser.git] / doc / Makefile.am
blob863c2dfc8463919d3503b7078385892990629eb6
1 # Copyright (C) 2010 Jose Antonio Ortega Ruiz
3 # This file is free software; as a special exception the author gives
4 # unlimited permission to copy and/or distribute it, with or without
5 # modifications, as long as this notice is preserved.
7 # This program is distributed in the hope that it will be useful, but
8 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 # SUBDIRS = img
12 SUFFIXES = .html
14 info_TEXINFOS = geiser.texi
15 geiser_TEXINFOS = \
16   macros.texi \
17   top.texi \
18   intro.texi \
19   install.texi \
20   repl.texi \
21   parens.texi \
22   cheat.texi \
23   thanks.texi \
24   index.texi
26 output_dir=$(top_builddir)/doc/html
28 web:
29         rm -f $(output_dir)/*.html
30         texi2html --output=$(output_dir) \
31                   --split=chapter \
32                   --noheader \
33                   --nonumber-section \
34                   --init-file=$(top_srcdir)/doc/site.conf \
35                   --top-file=index.html \
36                   $(top_srcdir)/doc/web.texi
37         cp $(top_srcdir)/doc/geiser.css ${output_dir}
38         cp -r $(top_srcdir)/doc/img ${output_dir}
40 EXTRA_DIST = dir