1 EXTRA_DIST = config.example extract-help-text.awk commands.texi menu.texi \
2 pwmd.info pwmd.html yat2m.c
3 dist_man1_MANS = pwmd.1 pwmd-dump.1
4 info_TEXINFOS = pwmd.texi
7 # remove targets if make recipe fails:
11 $(CC_FOR_BUILD) -o yat2m $(srcdir)/yat2m.c
13 AM_MAKEINFOFLAGS= -I$(builddir)
14 AM_MAKEINFOHTMLFLAGS=--no-split
16 # menu.texi built as a side effect in extract-help-text.awk:
17 commands.texi menu.texi: extract-help-text.awk $(top_srcdir)/src/commands.c
18 $(AWK) -f $(top_srcdir)/doc/extract-help-text.awk \
19 < $(top_srcdir)/src/commands.c \
21 || { rc=$$? ; rm -f menu.texi ; exit $$rc ; }
23 $(srcdir)/pwmd.texi: commands.texi menu.texi
24 -touch -c $(srcdir)/pwmd.texi
27 $(MAKE) $(AM_MAKEFLAGS) yat2m$(EXEEXT)
28 $(builddir)/yat2m --source 'Password Manager Daemon' \
29 --release @VERSION@ $(top_srcdir)/doc/pwmd.texi \
32 all: pwmd.html pwmd.1 $(srcdir)/pwmd.info