1 EXTRA_DIST = config.example magic extract-help-text.awk commands.texi \
2 menu.texi pwmd.1 pwmd.info pwmd.html
4 info_TEXINFOS = pwmd.texi
6 noinst_PROGRAMS = yat2m
7 yat2m_SOURCES = yat2m.c
9 AM_MAKEINFOHTMLFLAGS=--no-split
11 commands.texi: extract-help-text.awk $(top_srcdir)/src/commands.c
12 awk -f $(top_srcdir)/doc/extract-help-text.awk \
13 < $(top_srcdir)/src/commands.c \
14 > $(top_srcdir)/doc/commands.texi
15 echo '@menu' | cat - menu.texi.in > menu.texi \
16 && echo '@end menu' >> menu.texi
17 rm -f pwmd.texi.in menu.texi.in
19 pwmd.info: commands.texi
21 pwmd.1: yat2m pwmd.texi
22 @if test ! -f $(top_srcdir)/doc/pwmd.1; then \
23 $(top_srcdir)/doc/yat2m --source 'Password Manager Daemon' \
24 --release @VERSION@ $(top_srcdir)/doc/pwmd.texi \
25 > $(top_srcdir)/doc/pwmd.1; \