doc: Fix generation of HTML fragment

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2018-02-28 12:32:45 +05:30 committed by James Valleroy
parent 910198cdf5
commit fe8536df8a
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -62,7 +62,7 @@ fetch:
%.part.html: %.html
perl -pe 'BEGIN {undef $/} s/.*<body[^>]*>(.*)<\/body>.*/$1/s' $< > $@
perl -pe 'BEGIN {undef $$/} s/.*<body[^>]*>(.*)<\/body\s*>.*/$$1/si' $< > $@
%.html: %.xml