From d9a17c075e61609bee2b2c3014b53f8630f533a4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 Mar 2012 16:50:06 -0800 Subject: BZ #13792: License manual example source files under GPL. --- manual/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manual/Makefile') diff --git a/manual/Makefile b/manual/Makefile index 0137afd..e291509 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -122,7 +122,8 @@ stamp-version: $(common-objpfx)config.make # Generate Texinfo files from the C source for the example programs. %.c.texi: examples/%.c - sed -e 's,[{}],@&,g' \ + sed -e '1,/^\*\/$$/d' \ + -e 's,[{}],@&,g' \ -e 's,/\*\(@.*\)\*/,\1,g' \ -e 's,/\* *,/* @r{,g' -e 's, *\*/,} */,' \ -e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/g'\ -- cgit v1.1