diff --git a/doc/Makefile b/doc/Makefile index 96359df6d..7b0760536 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -62,7 +62,7 @@ fetch: %.part.html: %.html - perl -pe 'BEGIN {undef $/} s/.*]*>(.*)<\/body>.*/$1/s' $< > $@ + perl -pe 'BEGIN {undef $$/} s/.*]*>(.*)<\/body\s*>.*/$$1/si' $< > $@ %.html: %.xml