diff --git a/avrdude/ChangeLog b/avrdude/ChangeLog index 3089597f..48696e6d 100644 --- a/avrdude/ChangeLog +++ b/avrdude/ChangeLog @@ -1,3 +1,9 @@ +2012-09-06 Joerg Wunsch + + * doc/Makefile.am: add EXTRA_DIST, replace $(srcdir) by + $(builddir) for generated files, so "make distcheck" + works again + 2012-09-05 Rene Liebscher * doc/Makefile.am: add $(srcdir) to name of generated files, so BSD make diff --git a/avrdude/doc/Makefile.am b/avrdude/doc/Makefile.am index 8434d940..7d0ba691 100644 --- a/avrdude/doc/Makefile.am +++ b/avrdude/doc/Makefile.am @@ -22,17 +22,20 @@ # GENERATED_TEXINFOS = \ - $(srcdir)/programmers.texi \ - $(srcdir)/parts.texi \ - $(srcdir)/programmer_types.texi \ - $(srcdir)/version.texi + $(builddir)/programmers.texi \ + $(builddir)/parts.texi \ + $(builddir)/programmer_types.texi \ + $(builddir)/version.texi CLEANFILES = \ $(GENERATED_TEXINFOS) \ - stamp-vti + $(builddir)/stamp-vti info_TEXINFOS = avrdude.texi +EXTRA_DIST = \ + parts_comments.txt + all-local: info html ps pdf html: avrdude-html/avrdude.html @@ -46,27 +49,27 @@ avrdude-html/avrdude.html: $(srcdir)/$(info_TEXINFOS) $(GENERATED_TEXINFOS) mv -f avrdude avrdude-html; \ fi; -$(srcdir)/avrdude.info: $(GENERATED_TEXINFOS) -$(srcdir)/avrdude.dvi: $(GENERATED_TEXINFOS) -$(srcdir)/avrdude.pdf: $(GENERATED_TEXINFOS) +$(builddir)/avrdude.info: $(GENERATED_TEXINFOS) +$(builddir)/avrdude.dvi: $(GENERATED_TEXINFOS) +$(builddir)/avrdude.pdf: $(GENERATED_TEXINFOS) # if it does not exist make this first ../avrdude$(EXEEXT): $(MAKE) -C .. avrdude$(EXEEXT) -$(srcdir)/programmers.texi: ../avrdude$(EXEEXT) ../avrdude.conf Makefile +$(builddir)/programmers.texi: ../avrdude$(EXEEXT) ../avrdude.conf Makefile ../avrdude$(EXEEXT) -C ../avrdude.conf -c \? 2>&1 \ | $(AWK) '$$2 ~ /^=$$/ {printf("@item @code{%s} @tab %s\n",$$1,gensub("[^=]+=[ \t]*","",1))}' \ | sed "s# *,\? *<\?\(http://[^ \t>]*\)>\?#,@*\n@url{\1}#g" \ >programmers.texi -$(srcdir)/programmer_types.texi: ../avrdude$(EXEEXT) ../avrdude.conf Makefile +$(builddir)/programmer_types.texi: ../avrdude$(EXEEXT) ../avrdude.conf Makefile ../avrdude$(EXEEXT) -C ../avrdude.conf -c \?type 2>&1 \ | $(AWK) '$$2 ~ /^=$$/ {printf("@item @code{%s} @tab %s\n",$$1,gensub("[^=]+=[ \t]*","",1))}' \ | sed "s#<\?\(http://[^ \t,>]*\)>\?#@url{\1}#g" \ >programmer_types.texi -$(srcdir)/parts.texi: ../avrdude$(EXEEXT) ../avrdude.conf parts_comments.txt Makefile +$(builddir)/parts.texi: ../avrdude$(EXEEXT) ../avrdude.conf parts_comments.txt Makefile ../avrdude$(EXEEXT) -C ../avrdude.conf -p \? 2>&1 \ | $(AWK) '$$2 ~ /^=$$/ {printf("@item @code{%s} @tab %s\n",$$1,$$3)}' \ | sed -e "`sed 's:\([^ \t]*\)[ \t]*\(.*\):s/\1$$/\1 \2/g:g'