# 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:
--- /dev/null
+# 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