Let the dok-readme target fix the location embedded into the README file
authorFabian Keil <fk@fabiankeil.de>
Wed, 16 Dec 2020 09:49:31 +0000 (10:49 +0100)
committerFabian Keil <fk@fabiankeil.de>
Thu, 17 Dec 2020 14:14:43 +0000 (15:14 +0100)
This used to be done by CVS but since the git migration
it has to be done throuhg other means.

GNUmakefile.in

index f0b75ba..651c306 100644 (file)
@@ -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 ;\
 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.*
        $(DB_TXT)-notoc -V nochunks install.sgml > tmp.html &&\
        $(W3M_DUMP) tmp.html > ../../INSTALL ;\
        $(RM) tmp.*