From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 16 Dec 2020 09:49:31 +0000 (+0100)
Subject: Let the dok-readme target fix the location embedded into the README file
X-Git-Tag: v_3_0_30~216
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/@default-cgi@show-url-info?a=commitdiff_plain;h=79cedb75df33fffda463939830471b265a283b15;p=privoxy.git

Let the dok-readme target fix the location embedded into the README file

This used to be done by CVS but since the git migration
it has to be done throuhg other means.
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index f0b75ba0..651c3063 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -574,6 +574,7 @@ groff2html:
 dok-readme: dok-release
 	cd doc/source && $(DB_TXT)-notoc -V nochunks readme.sgml > tmp.html &&\
 	$(W3M_DUMP) tmp.html > ../../README ;\
+	$(PERL) -pi'' -e 's@doc/source/readme\.sgml@README@' ../../README;  \
 	$(DB_TXT)-notoc -V nochunks install.sgml > tmp.html &&\
 	$(W3M_DUMP) tmp.html > ../../INSTALL ;\
 	$(RM) tmp.*