aboutsummaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-03-02 16:50:06 -0800
committerRoland McGrath <roland@hack.frob.com>2012-03-02 16:52:01 -0800
commitd9a17c075e61609bee2b2c3014b53f8630f533a4 (patch)
tree5a5e4fea365808b94153776a884cab7481383e92 /manual/Makefile
parent7181dda8d5bf4f793181f7a672b8605adcb6b700 (diff)
downloadglibc-d9a17c075e61609bee2b2c3014b53f8630f533a4.zip
glibc-d9a17c075e61609bee2b2c3014b53f8630f533a4.tar.gz
glibc-d9a17c075e61609bee2b2c3014b53f8630f533a4.tar.bz2
BZ #13792: License manual example source files under GPL.
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile3
1 files changed, 2 insertions, 1 deletions
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'\