From c8da7420c9d0fc5d223aa29cff48d2b3dd6729cd Mon Sep 17 00:00:00 2001 From: troth Date: Mon, 3 Mar 2003 01:09:52 +0000 Subject: [PATCH] * Makefile.am (SUBDIRS): Add doc dir. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile. * doc/Makefile.am: New file. * doc/avrdude.texi: Use automatically generated version.texi. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@245 81a1dc3b-b13d-400b-aceb-764788c761c2 --- Makefile.am | 4 ++-- configure.ac | 1 + doc/Makefile.am | 34 ++++++++++++++++++++++++++++++++++ doc/avrdude.texi | 11 ++++++++--- 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 doc/Makefile.am diff --git a/Makefile.am b/Makefile.am index 76d6c6ec..e1884472 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,8 +27,8 @@ EXTRA_DIST = \ avrdude.spec \ bootstrap -SUBDIRS = @WINDOWS_DIRS@ -DIST_SUBDIRS = windows +SUBDIRS = doc @WINDOWS_DIRS@ +DIST_SUBDIRS = doc windows AM_YFLAGS = -d diff --git a/configure.ac b/configure.ac index 856bac4c..8e73e0b7 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,7 @@ esac AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS) AC_CONFIG_FILES([ + doc/Makefile windows/Makefile avrdude.spec avrdude.conf diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 00000000..3ef76cb1 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,34 @@ +# +# avrdude - A Downloader/Uploader for AVR device programmers +# Copyright (C) 2003 Theodore A. Roth +# +# This program 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 of the License, or +# (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +# +# $Id$ +# + +info_TEXINFOS = avrdude.texi + +all-local: info html ps pdf + +html: + mkdir -p avrdude-html + texi2html -split_node $(srcdir)/$(info_TEXINFOS) + mv *.html avrdude-html + +clean-local: + rm -rf avrdude-html *.info diff --git a/doc/avrdude.texi b/doc/avrdude.texi index 8cb7bce5..f2814254 100644 --- a/doc/avrdude.texi +++ b/doc/avrdude.texi @@ -6,9 +6,14 @@ @setfilename avrdude.info @settitle AVRDUDE -@set UPDATED 26 Febuary 2003 -@set EDITION 3.2.0 -@set VERSION 3.2.0 +@include version.texi + +@c +@c These are set in version.texi which is automatically generated by automake. +@c +@c @set UPDATED 26 Febuary 2003 +@c @set EDITION 3.2.0 +@c @set VERSION 3.2.0 @titlepage @title AVRDUDE