* configure.ac: Remove hack to make work with automake-1.5.

* doc/Makefile.am: Remove extra rules that were needed to work with
	automake-1.5.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@265 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Theodore A. Roth 2003-03-06 06:45:54 +00:00
parent 26a98b8b58
commit e00d991513
2 changed files with 9 additions and 16 deletions

View File

@ -23,22 +23,15 @@
# Process this file with autoconf to produce a configure script.
# Automake-1.5 requires arguments to AM_INIT_AUTOMAKE, but Automake-1.6 and
# later to not. To work around this, we need to give the version in two places
# so we define avrdude_version. Once freebsd can use 1.6 or newer, we can get
# rid of this silly hack and remove the args to AM_INIT_AUTOMAKE.
m4_define([avrdude_version],[3.1.0cvs])
AC_PREREQ(2.53)
AC_INIT(avrdude, avrdude_version, avrdude-dev@nongnu.org)
AC_PREREQ(2.57)
AC_INIT(avrdude, 3.1.0cvs, avrdude-dev@nongnu.org)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AC_CONFIG_SRCDIR([main.c])
AM_INIT_AUTOMAKE(avrdude, avrdude_version)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([ac_cfg.h])
# Checks for programs.

View File

@ -31,18 +31,18 @@ html:
mv *.html avrdude-html
# This rule is only need for automake versions prior to 1.7
ps: avrdude.ps
#ps: avrdude.ps
# The pdf rules are only needed for automake versions prior to 1.7
pdf: avrdude.pdf
#pdf: avrdude.pdf
avrdude.pdf: $(info_TEXINFOS)
#avrdude.pdf: $(info_TEXINFOS)
SUFFIXES = .pdf
#SUFFIXES = .pdf
.texi.pdf:
texi2pdf $?
#.texi.pdf:
# texi2pdf $?
clean-local:
rm -rf avrdude-html *.info