Skip to content

Commit

Permalink
Allow repeated doc builds without errors (Autotools)
Browse files Browse the repository at this point in the history
Sometimes when building with the Autoconf buildsystem,
the avrdude-html/ subdir already exists and therefore
renaming the newly built avrdude/ subdir to avrdude-html/
cannot succeed.

Removing the old avrdude-html/ subdir first fixes that.
  • Loading branch information
ndim committed Feb 6, 2024
1 parent 0971cea commit f2edd86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ avrdude-html/avrdude.html: $(srcdir)/$(info_TEXINFOS) $(GENERATED_TEXINFOS)
mkdir -p avrdude-html ; \
mv -f *.html avrdude-html ; \
else \
rm -rf avrdude-html; \
mv -f avrdude avrdude-html; \
fi;

Expand Down

0 comments on commit f2edd86

Please sign in to comment.