[ovs-dev] [PATCH 2/2] dist-docs: Fix relative links.

Russell Bryant russell at ovn.org
Mon Feb 8 17:25:14 UTC 2016


There are some relative links designed to work on github.  These links
are broken within dist-docs.  Adding a symbolic link from the original
filename to the plain text version makes these links work within
dist-docs.

Signed-off-by: Russell Bryant <russell at ovn.org>
---
 build-aux/dist-docs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-aux/dist-docs b/build-aux/dist-docs
index 3792fa5..611ba5b 100755
--- a/build-aux/dist-docs
+++ b/build-aux/dist-docs
@@ -71,6 +71,7 @@ do
     title=`head -1 "$srcdir/$file"`
     dir=$distdir/`dirname $file`; test -d "$dir" || mkdir "$dir"
     cp "$srcdir/$file" "$distdir/$file.txt"
+    ln -s $(basename "$file.txt") "$distdir/$file"
     (cat <<EOF
 <html><head>
   <meta charset="UTF-8"></head>
-- 
2.5.0




More information about the dev mailing list