dist-docs: Fix relative links.
authorRussell Bryant <russell@ovn.org>
Tue, 9 Feb 2016 17:46:46 +0000 (12:46 -0500)
committerRussell Bryant <russell@ovn.org>
Tue, 9 Feb 2016 17:46:46 +0000 (12:46 -0500)
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@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
build-aux/dist-docs

index 93709c8..73c85ed 100755 (executable)
@@ -73,6 +73,7 @@ do
     case $file in
        *.md)
            cp "$srcdir/$file" "$distdir/$file.txt"
+           ln -s $(basename "$file.txt") "$distdir/$file"
            (cat <<EOF
 <html><head>
   <meta charset="UTF-8"></head>