Fixed manpages
authorAndreas "Jimmy" Gredler <jimmy@grml.org>
Sun, 23 Mar 2014 05:53:54 +0000 (22:53 -0700)
committerAndreas "Jimmy" Gredler <jimmy@grml.org>
Sun, 23 Mar 2014 05:53:54 +0000 (22:53 -0700)
Manpages were including the text .5v at the end of some paragraphs. This was
caused by an old hack in the Makefile which removed the text .sp, which was
accidently added to the end of some paragraphs. (sed -i 's/\.sp//') Looks like
this hack is not needed any longer so it was just commented out and so the .5v
disappeared (which might have been the text ".sp 5v")

Makefile

index 5d3a052..15fa7de 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ man-stamp: grml2usb.8.txt grml2iso.8.txt
        cp grml2usb.8 grml2usb.8.tmp
        uniq grml2usb.8.tmp > grml2usb.8
        # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
        cp grml2usb.8 grml2usb.8.tmp
        uniq grml2usb.8.tmp > grml2usb.8
        # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
-       sed -i 's/\.sp//' grml2usb.8
+       #sed -i 's/\.sp//' grml2usb.8
        rm grml2usb.8.tmp
        # grml2iso:
        asciidoc -d manpage -b docbook grml2iso.8.txt
        rm grml2usb.8.tmp
        # grml2iso:
        asciidoc -d manpage -b docbook grml2iso.8.txt
@@ -32,7 +32,7 @@ man-stamp: grml2usb.8.txt grml2iso.8.txt
        cp grml2iso.8 grml2iso.8.tmp
        uniq grml2iso.8.tmp > grml2iso.8
        # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
        cp grml2iso.8 grml2iso.8.tmp
        uniq grml2iso.8.tmp > grml2iso.8
        # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
-       sed -i 's/\.sp//' grml2iso.8
+       #sed -i 's/\.sp//' grml2iso.8
        rm grml2iso.8.tmp
        # we're done
        touch man-stamp
        rm grml2iso.8.tmp
        # we're done
        touch man-stamp