]> git.proxmox.com Git - mirror_ovs.git/commitdiff
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 93709c8cc0a426ba7324b7c4d70dbf9ae2bc3544..73c85ed5769a772719b57810d4940cd0872dc815 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>