From: Michael Wallner Date: Tue, 25 Jan 2022 08:32:06 +0000 (+0100) Subject: stub2ref do not generate .md X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=dd10f02e485e07de9ff37ec096d156f51c2f62fc;p=mdref%2Fmdref stub2ref do not generate .md --- diff --git a/bin/stub2ref b/bin/stub2ref index 37e55f2..78c7d17 100755 --- a/bin/stub2ref +++ b/bin/stub2ref @@ -22,10 +22,6 @@ if (!file_exists("$destination/$namespace.mdref")) { fprintf(STDERR, "Missing $destination/$namespace.mdref; generated default.\n"); file_put_contents("$destination/$namespace.mdref", "./%s") || exit -2; } -if (!file_exists("$destination/$namespace.md")) { - fprintf(STDERR, "Missing $destination/$namespace.md; hard linking README.md\n"); - link(dirname($argv[2]) . "/README.md", "$destination/$namespace.md") || exit -3; -} $inspector = new Inspector; $inspector->inspectNamespace($namespace);