summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am1
-rw-r--r--docs/man5/.gitignore3
-rw-r--r--docs/man5/Makefile.am23
-rw-r--r--docs/man5/tinyproxy.conf.txt.in41
4 files changed, 68 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index b7d199b..5065255 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,4 +1,5 @@
SUBDIRS = \
+ man5 \
man8
EXTRA_DIST = \
diff --git a/docs/man5/.gitignore b/docs/man5/.gitignore
new file mode 100644
index 0000000..407e1ab
--- /dev/null
+++ b/docs/man5/.gitignore
@@ -0,0 +1,3 @@
+*.5
+*.xml
+*.txt
diff --git a/docs/man5/Makefile.am b/docs/man5/Makefile.am
new file mode 100644
index 0000000..340e127
--- /dev/null
+++ b/docs/man5/Makefile.am
@@ -0,0 +1,23 @@
+MAN5_FILES = \
+ tinyproxy.conf.txt
+
+A2X_ARGS = \
+ -d manpage \
+ -f manpage
+
+man_MANS = \
+ $(MAN5_FILES:.txt=.5)
+
+.txt.5:
+if HAVE_A2X
+ a2x $(A2X_ARGS) $<
+else
+ @echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
+endif
+
+EXTRA_DIST = \
+ $(man_MANS)
+
+CLEANFILES = \
+ $(MAN5_FILES:.txt=.5) \
+ $(MAN5_FILES:.txt=.xml)
diff --git a/docs/man5/tinyproxy.conf.txt.in b/docs/man5/tinyproxy.conf.txt.in
new file mode 100644
index 0000000..e99b9cc
--- /dev/null
+++ b/docs/man5/tinyproxy.conf.txt.in
@@ -0,0 +1,41 @@
+TINYPROXY.CONF(5)
+=================
+:man source: Version @VERSION@
+:man manual: Tinyproxy manual
+
+NAME
+----
+
+tinyproxy.conf - Tinyproxy HTTP proxy daemon configuration file
+
+
+SYNOPSIS
+--------
+
+*tinyproxy.conf*
+
+
+DESCRIPTION
+-----------
+
+Put text here about tinyproxy.conf.
+
+
+BUGS
+----
+
+To report bugs in Tinyproxy, please visit
+<https://www.banu.com/tinyproxy/support/[https://www.banu.com/tinyproxy/support/]>.
+
+
+COPYRIGHT
+---------
+
+Copyright (c) 1998-2000 Steven Young;
+Copyright (c) 2000-2001 Robert James Kaes;
+Copyright (c) 2009 Mukund Sivaraman;
+Copyright (c) 2009 Michael Adam.
+
+This program is distributed under the terms of the GNU General Public
+License version 2 or above. See the COPYING file for additional
+information.