Move documentation to doc/.
authorSimon Josefsson <simon@josefsson.org>
Thu, 8 Jul 2004 13:45:53 +0000 (13:45 +0000)
committerSimon Josefsson <simon@josefsson.org>
Thu, 8 Jul 2004 13:45:53 +0000 (13:45 +0000)
Makefile.am
configure.ac
doc/Makefile.am [new file with mode: 0644]

index a1c590c..ecf6307 100644 (file)
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 # MA 02111-1307, USA.
 
+SUBDIRS = doc
+
 ACLOCAL_AMFLAGS = -I .
 
 m4datadir = $(datadir)/aclocal
 m4data_DATA = autobuild.m4
 
 dist_bin_SCRIPTS = autobuild abindex
-dist_man_MANS = autobuild.1 abindex.1
-MAINTAINERCLEANFILES = autobuild.1 abindex.1
 
 EXTRA_DIST = logs/autobuild.log
 TESTS = tst-autobuild tst-simple
 dist_check_SCRIPTS = $(TESTS)
 
-autobuild.1: autobuild $(top_srcdir)/configure.ac
-       $(HELP2MAN) --no-info \
-               --name="Read and parse build logs" \
-               --output=$@ $(top_builddir)/autobuild
-
-abindex.1: abindex $(top_srcdir)/configure.ac
-       $(HELP2MAN) --no-info \
-               --name="Create HTML index to build logs" \
-               --output=$@ $(top_builddir)/abindex
-
 # Maintainer targets below.
 
 ChangeLog:
index f9c2e18..b5a26a8 100644 (file)
@@ -25,6 +25,6 @@ AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
 
 AB_INIT
 
-AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES(Makefile doc/Makefile)
 
 AC_OUTPUT
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644 (file)
index 0000000..7ec274f
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright (C) 2004 Simon Josefsson.
+#
+# This file is part of Autobuild.
+#
+# Autobuild is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# Autobuild is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Autobuild; see the file COPYING.  If not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA.
+
+EXTRA_DIST = autobuild.html autobuild.ps autobuild.pdf texinfo.css
+
+info_TEXINFOS = autobuild.texi
+autobuild_TEXINFOS = gpl.texi fdl.texi
+
+AM_MAKEINFOHTMLFLAGS = --no-split --number-sections --css-include=texinfo.css
+
+# Man pages.
+
+dist_man_MANS = autobuild.1 abindex.1
+MAINTAINERCLEANFILES = $(dist_man_MANS)
+
+autobuild.1: $(top_srcdir)/autobuild $(top_srcdir)/configure.ac
+       $(HELP2MAN) --no-info \
+               --name="Read and parse build logs" \
+               --output=$@ $(top_srcdir)/autobuild
+
+abindex.1: $(top_srcdir)/abindex $(top_srcdir)/configure.ac
+       $(HELP2MAN) --no-info \
+               --name="Create HTML index to build logs" \
+               --output=$@ $(top_srcdir)/abindex