From 7ad09c260521d4261b961f3727bd8c16d9659102 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Fri, 21 Aug 2015 03:01:15 +0200 Subject: doc-postprocess.pl: Un-break tag file references * util/doc-postprocess.pl: For some reason, recent versions of Doxygen output the full path to referenced tag files. This is bad since it breaks doc-install.pl, and also because it leaks local path names into source tarballs. Thus, strip the directory prefix here. --- util/doc-postprocess.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util') diff --git a/util/doc-postprocess.pl b/util/doc-postprocess.pl index 6630a91..a1bcd28 100644 --- a/util/doc-postprocess.pl +++ b/util/doc-postprocess.pl @@ -106,6 +106,12 @@ foreach my $filename (map(bsd_glob($_, GLOB_NOSORT), @ARGV)) s/^(|)template</$1template </; } + # For some reason, recent versions of Doxygen output the full path to + # referenced tag files. This is bad since it breaks doc-install.pl, + # and also because it leaks local path names into source tarballs. + # Thus, strip the directory prefix here. + s| doxygen="[^":]*/([^":]+\.tag):| doxygen="$1:|g; + s/©/©/g; s/—/—/g; s/–/–/g; -- cgit v1.2.1