From 79cedb75df33fffda463939830471b265a283b15 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 16 Dec 2020 10:49:31 +0100
Subject: [PATCH] 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.
---
 GNUmakefile.in | 1 +
 1 file changed, 1 insertion(+)

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.*
-- 
2.49.0