aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 18:00:08 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 18:00:08 +0000
commit61253f69646be10c92840db52ca50695231b605c (patch)
treea42cd814924333a27b1fe5600c419911c98fcdee
parent27480026516cd5cc863f8d4115e59c5854cb07e7 (diff)
downloadpaludis-61253f69646be10c92840db52ca50695231b605c.tar.gz
paludis-61253f69646be10c92840db52ca50695231b605c.tar.xz
Formatting tweaks
-rw-r--r--doc/clients/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/clients/Makefile.am b/doc/clients/Makefile.am
index 3de65d2..dbda649 100644
--- a/doc/clients/Makefile.am
+++ b/doc/clients/Makefile.am
@@ -126,7 +126,9 @@ cave.html : header.html.part footer.html.part
else \
echo "<h1>cave</h1>"; \
echo "<p>Sorry, documentation was generated without support for the cave client.</p>" ; \
- fi ; } | sed -e '/<h2>SEE ALSO<.h2>/,/<.div>/s#<span class="strong"><strong>\(.*\)</strong></span>(1)#<a href="\1.html">\1</a>#' \
+ fi ; } | sed \
+ -e '/<h2>SEE ALSO<.h2>/,/<.div>/s#<span class="strong"><strong>\(.*\)</strong></span>(1)#<a href="\1.html">\1</a>#' \
+ -e '/<h2>CORE COMMANDS<.h2>/,/<h2>ENVIRONMENT<.h2>/s,^\([a-z-]\+\)$$,<a href="cave-\1.html">\1</a>,' \
&& cat footer.html.part ; } > $@
$(CAVE_COMMANDS_HTML) : header.html.part footer.html.part
@@ -138,7 +140,7 @@ $(CAVE_COMMANDS_HTML) : header.html.part footer.html.part
else \
echo "<h1>cave</h1>"; \
echo "<p>Sorry, documentation was generated without support for the cave client.</p>" ; \
- fi ; } | sed -e '/<h2>SEE ALSO<.h2>/,/<.div>/s#<span class="strong"><strong>\(.*\)</strong></span>(1)#<a href="\1.html">\1</a>#' \
+ fi ; } \
&& cat footer.html.part ; } > $@
instruo.html : header.html.part footer.html.part