Rules to generate examples .texi from sources in ../examples.
Showing
1 changed file
with
11 additions
and
2 deletions
... | @@ -10,8 +10,8 @@ mailutils_TEXINFOS = \ | ... | @@ -10,8 +10,8 @@ mailutils_TEXINFOS = \ |
10 | c-api.texi \ | 10 | c-api.texi \ |
11 | encoding.texi \ | 11 | encoding.texi \ |
12 | envelope.texi \ | 12 | envelope.texi \ |
13 | ex-address.texi \ | 13 | address.c.texi \ |
14 | ex-url.texi \ | 14 | url-parse.c.texi \ |
15 | framework.texi \ | 15 | framework.texi \ |
16 | folder.texi \ | 16 | folder.texi \ |
17 | headers.texi \ | 17 | headers.texi \ |
... | @@ -34,6 +34,15 @@ mailutils_TEXINFOS = \ | ... | @@ -34,6 +34,15 @@ mailutils_TEXINFOS = \ |
34 | stream.texi \ | 34 | stream.texi \ |
35 | url.texi | 35 | url.texi |
36 | 36 | ||
37 | address.c.texi: ${top_srcdir}/examples/addr.c | ||
38 | sed '1,/.*\*\//d;s/\([{}]\)/@\1/g' $< > $@ | ||
39 | |||
40 | url-parse.c.texi: ${top_srcdir}/examples/url-parse.c | ||
41 | sed '1,/.*\*\//d;s/\([{}]\)/@\1/g' $< > $@ | ||
42 | |||
43 | sfrom.c.texi: ${top_srcdir}/examples/sfrom.c | ||
44 | sed '1,/.*\*\//d;s/\([{}]\)/@\1/g' $< > $@ | ||
45 | |||
37 | ## Sam, the examples dir is not part of the distribution so this will not work | 46 | ## Sam, the examples dir is not part of the distribution so this will not work |
38 | ## but we should probably have a "addrmsg" program and reenable this. | 47 | ## but we should probably have a "addrmsg" program and reenable this. |
39 | ## Alain. | 48 | ## Alain. | ... | ... |
-
Please register or sign in to post a comment