chiark / gitweb /
Bring CGI docs pretty much up to date
[disorder] / doc / Makefile.am
index c2971bb..cff3570 100644 (file)
@@ -24,13 +24,15 @@ man_MANS=disorderd.8 disorder.1 disorder.3 disorder_config.5 disorder-dump.8 \
        disorder_protocol.5 disorder-deadlock.8 \
        disorder-rescan.8 disobedience.1 disorderfm.1 disorder-speaker.8 \
        disorder-playrtp.1 disorder-normalize.8 disorder-decode.8 \
-       disorder-stats.8 disorder-dbupgrade.8 disorder_templates.5
+       disorder-stats.8 disorder-dbupgrade.8 disorder_templates.5 \
+       disorder_actions.5 disorder_options.5 disorder.cgi.8
 noinst_MANS=tkdisorder.1
 
 SEDFILES=disorder.1 disorderd.8 disorder_config.5 \
        disorder-dump.8 disorder_protocol.5 disorder-deadlock.8 \
        disorder-rescan.8 disobedience.1 disorderfm.1 disorder-playrtp.1 \
-       disorder-decode.8 disorder-stats.8 disorder-dbupgrade.8
+       disorder-decode.8 disorder-stats.8 disorder-dbupgrade.8 \
+       disorder_options.5 disorder.cgi.8
 
 include ${top_srcdir}/scripts/sedfiles.make
 
@@ -60,12 +62,26 @@ disorder_templates.5: disorder_templates.5.head disorder_templates.5.tail \
        cat ${srcdir}/disorder_templates.5.tail >> disorder_templates.5.new
        mv disorder_templates.5.new disorder_templates.5
 
+disorder_actions.5: disorder_actions.5.head disorder_actions.5.tail \
+               $(top_srcdir)/lib/macros-builtin.c \
+               $(top_srcdir)/server/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)/server/actions.c 
+       cat ${srcdir}/disorder_actions.5.tail >> disorder_actions.5.new
+       mv disorder_actions.5.new disorder_actions.5
+
 EXTRA_DIST=disorderd.8.in disorder.1.in disorder_config.5.in \
           disorder.3 disorder-dump.8.in disorder_protocol.5.in \
           tkdisorder.1 disorder-deadlock.8.in disorder-rescan.8.in \
           disobedience.1.in disorderfm.1.in disorder-speaker.8 \
           disorder-playrtp.1.in disorder-decode.8.in disorder-normalize.8 \
-          disorder-stats.8.in disorder-dbupgrade.8.in
+          disorder-stats.8.in disorder-dbupgrade.8.in \
+          disorder_actions.5.head disorder_templates.5.head \
+          disorder_actions.5.tail disorder_templates.5.tail \
+          disorder_options.5.in disorder.cgi.8.in
 
 CLEANFILES=$(SEDFILES) $(HTMLMAN) $(TMPLMAN)