(%.c.texi): Replace single substitution for one-line comments with two
authorroland <roland>
Fri, 28 May 1993 22:52:50 +0000 (22:52 +0000)
committerroland <roland>
Fri, 28 May 1993 22:52:50 +0000 (22:52 +0000)
substitutions, one for comment-start and one for comment-end, so multi-line
comments win.

manual/Makefile

index d2b5899..e9e0657 100644 (file)
@@ -68,7 +68,7 @@ $(objpfx)stamp-summary: summary.awk $(chapters)
 $(objpfx)%.c.texi: examples/%.c
        sed -e 's,[{}],@&,g'                            \
            -e 's,/\*\(@.*\)\*/,\1,g'                   \
-           -e 's,/\* *\(.*\) *\*/,/* @r{\1} */,g'      \
+           -e 's,/\*  *,/* @r{,g' -e 's,  *\*/,} */,'  \
            -e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/'\
            $< | expand > $@.new
        mv $@.new $@