Commit f61f575f f61f575f99498a1cc9658f13fe7182e669ad5234 by Sergey Poznyakoff

Rules to generate examples .texi from sources in ../examples.

1 parent 0d52e88a
......@@ -10,8 +10,8 @@ mailutils_TEXINFOS = \
c-api.texi \
encoding.texi \
envelope.texi \
ex-address.texi \
ex-url.texi \
address.c.texi \
url-parse.c.texi \
framework.texi \
folder.texi \
headers.texi \
......@@ -34,6 +34,15 @@ mailutils_TEXINFOS = \
stream.texi \
url.texi
address.c.texi: ${top_srcdir}/examples/addr.c
sed '1,/.*\*\//d;s/\([{}]\)/@\1/g' $< > $@
url-parse.c.texi: ${top_srcdir}/examples/url-parse.c
sed '1,/.*\*\//d;s/\([{}]\)/@\1/g' $< > $@
sfrom.c.texi: ${top_srcdir}/examples/sfrom.c
sed '1,/.*\*\//d;s/\([{}]\)/@\1/g' $< > $@
## Sam, the examples dir is not part of the distribution so this will not work
## but we should probably have a "addrmsg" program and reenable this.
## Alain.
......