diff --git a/doc/Makefile.am b/doc/Makefile.am index 3ef76cb1..aec7ffb9 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -30,5 +30,19 @@ html: texi2html -split_node $(srcdir)/$(info_TEXINFOS) mv *.html avrdude-html +# This rule is only need for automake versions prior to 1.7 +ps: avrdude.ps + +# The pdf rules are only needed for automake versions prior to 1.7 + +pdf: avrdude.pdf + +avrdude.pdf: $(info_TEXINFOS) + +SUFFIXES = .pdf + +.texi.pdf: + texi2pdf $? + clean-local: rm -rf avrdude-html *.info