chiark / gitweb /
Documentation tweaks
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 18 May 2008 18:39:41 +0000 (19:39 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 18 May 2008 18:39:41 +0000 (19:39 +0100)
.bzrignore
doc/Makefile.am
doc/disorder_actions.5.head
doc/disorder_templates.5.head

index c701a861deedd82f353e51cff1ca8897bb3d178e..b3032ad5d17cf4d14e86ae2bb8821ccfbd478d73 100644 (file)
@@ -185,3 +185,5 @@ doc/disorder_actions.5
 doc/disorder_actions.5.html
 doc/disorder_options.5
 doc/disorder_options.5.html
+doc/disorder_actions.5.in
+doc/disorder_templates.5.in
index cff3570874031b0d90f87c8add7764c22047a03f..4b01791ebfab3e7b4955cb3694beb276845ad334 100644 (file)
@@ -32,7 +32,8 @@ 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_options.5 disorder.cgi.8
+       disorder_options.5 disorder.cgi.8 disorder_templates.5 \
+       disorder_actions.5
 
 include ${top_srcdir}/scripts/sedfiles.make
 
@@ -50,7 +51,7 @@ $(TMPLMAN) : %.tmpl : % $(top_srcdir)/scripts/htmlman
        chmod 444 $@.new
        mv -f $@.new $@
 
-disorder_templates.5: disorder_templates.5.head disorder_templates.5.tail \
+disorder_templates.5.in: disorder_templates.5.head disorder_templates.5.tail \
                $(top_srcdir)/lib/macros-builtin.c \
                $(top_srcdir)/server/macros-disorder.c \
                $(top_srcdir)/scripts/macro-docs
@@ -60,9 +61,9 @@ disorder_templates.5: disorder_templates.5.head disorder_templates.5.tail \
                $(top_srcdir)/lib/macros-builtin.c \
                $(top_srcdir)/server/macros-disorder.c 
        cat ${srcdir}/disorder_templates.5.tail >> disorder_templates.5.new
-       mv disorder_templates.5.new disorder_templates.5
+       mv disorder_templates.5.new disorder_templates.5.in
 
-disorder_actions.5: disorder_actions.5.head disorder_actions.5.tail \
+disorder_actions.5.in: disorder_actions.5.head disorder_actions.5.tail \
                $(top_srcdir)/lib/macros-builtin.c \
                $(top_srcdir)/server/actions.c \
                $(top_srcdir)/scripts/macro-docs
@@ -71,7 +72,7 @@ disorder_actions.5: disorder_actions.5.head disorder_actions.5.tail \
        $(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
+       mv disorder_actions.5.new disorder_actions.5.in
 
 EXTRA_DIST=disorderd.8.in disorder.1.in disorder_config.5.in \
           disorder.3 disorder-dump.8.in disorder_protocol.5.in \
index 34367e73b1cbd3c9d9a0e32cba6fd370e9a39dc2..c093a2d6508dc50b2f69ac6bbb95cb1cc1cd1fb1 100644 (file)
@@ -30,8 +30,8 @@ If no action is set, then the default is \fBplaying\fR, unless the argument
 \fBc\fR is present, in which case it is \fBconfirm\fR.
 This is a hack to keep confirmation URLs short.
 .SS Redirection
-For actions in the list, if it is not specified what template they expand, they
-redirect according to the value of the \fBback\fR argument.
+Actions in the list below that do not documented what template they expand
+issue an HTTP redirect according to the value of the \fBback\fR argument.
 There are three possibilities:
 .TP
 .BR 1 )
index f876f80a38397198e31355a733f9e5fec8ce7965..4170c32966c7ee16bcd44986a03321d1f6157257 100644 (file)
@@ -88,6 +88,9 @@ inclusion as a macro.
 Before any page is expanded, the CGI will process \fBmacros.tmpl\fR (and
 discard any output).
 This defines a collection of commonly used macros.
+.SS "Search Path"
+Template files a first searched for in \fIpkgconfdir\fR and then in
+\fIpkgdatadir\fR.
 .SH EXPANSIONS
 This section lists the supported expansions.
 .\" Local Variables: