- $(top_srcdir)/server/macros-disorder.c
- cat disorder_templates.5.tail >> disorder_templates.5.new
- mv disorder_templates.5.new disorder_templates.5
+ $(top_srcdir)/cgi/macros-disorder.c
+ cat ${srcdir}/disorder_templates.5.tail >> disorder_templates.5.new
+ mv disorder_templates.5.new disorder_templates.5.in
+
+disorder_actions.5.in: disorder_actions.5.head disorder_actions.5.tail \
+ $(top_srcdir)/lib/macros-builtin.c \
+ $(top_srcdir)/cgi/actions.c \
+ $(top_srcdir)/scripts/macro-docs
+ rm -f disorder_actions.5.new
+ cat ${srcdir}/disorder_actions.5.head >> disorder_actions.5.new
+ $(top_srcdir)/scripts/macro-docs >> disorder_actions.5.new \
+ $(top_srcdir)/cgi/actions.c
+ cat ${srcdir}/disorder_actions.5.tail >> disorder_actions.5.new
+ mv disorder_actions.5.new disorder_actions.5.in
+
+if GROG
+check: $(man_MANS)
+ @set -e; for m in $(man_MANS); do \
+ echo \`$(GROG) $$m\` -Tutf8 -wall \>/dev/null ;\
+ echo `$(GROG) $$m` -Tutf8 -wall >/dev/null ;\
+ done
+endif