summaryrefslogtreecommitdiffstats
path: root/ax25mond
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-12-11 23:00:10 +0000
committerRalf Baechle <ralf@linux-mips.org>2011-12-11 23:00:10 +0000
commite62afa7359d9734e57a843beac68cea138fd19cc (patch)
tree1924778e00b310b4d06ec7aa8d4d7a484482b900 /ax25mond
parent66d4d96bb168a6909d4d54a78a7e43ae1599b437 (diff)
Apply program name transformations also to remaining man page content.
The config files are unaffected; if you need to resolve a name conflict for the config files, use --sysconfdir=/etc and --localstatedir=/var.
Diffstat (limited to 'ax25mond')
-rw-r--r--ax25mond/Makefile.am20
-rw-r--r--ax25mond/ax25mond.conf.man (renamed from ax25mond/ax25mond.conf.5)8
-rw-r--r--ax25mond/ax25mond.man (renamed from ax25mond/ax25mond.8)6
3 files changed, 27 insertions, 7 deletions
diff --git a/ax25mond/Makefile.am b/ax25mond/Makefile.am
index 6499f30..af5e061 100644
--- a/ax25mond/Makefile.am
+++ b/ax25mond/Makefile.am
@@ -5,6 +5,26 @@ man_MANS = ax25mond.8 ax25mond.conf.5
EXTRA_DIST = $(man_MANS) $(etcfiles)
+ax25mond.8: ax25mond.man
+ name_ax25mond=$$(echo call | sed -e '$(transform)') \
+ name_Ax25mond=$$(echo $$name_ax25mond | sed -r 's@^(.)@\U\1\E@') && \
+ name_AX25MOND=$$(echo $$name_ax25mond | sed -r 's@^(.*)@\U\1\E@') && \
+ sed -e "s/@@@ax25mond@@@/$$name_ax25mond/g" \
+ -e "s/@@@Ax25mond@@@/$$name_Ax25mond/g" \
+ -e "s/@@@AX25MOND@@@/$$name_AX25MOND/g" \
+ ax25mond.man > ax25mond.1.tmp && \
+ mv ax25mond.1.tmp ax25mond.1;
+
+ax25mond.conf.5: ax25mond.conf.man
+ name_ax25mond=$$(echo call | sed -e '$(transform)') \
+ name_Ax25mond=$$(echo $$name_ax25mond | sed -r 's@^(.)@\U\1\E@') && \
+ name_AX25MOND=$$(echo $$name_ax25mond | sed -r 's@^(.*)@\U\1\E@') && \
+ sed -e "s/@@@ax25mond@@@/$$name_ax25mond/g" \
+ -e "s/@@@Ax25mond@@@/$$name_Ax25mond/g" \
+ -e "s/@@@AX25MOND@@@/$$name_AX25MOND/g" \
+ ax25mond.conf.man > ax25mond.conf.5.tmp && \
+ mv ax25mond.conf.5.tmp ax25mond.conf.5;
+
ax25mond_LDADD = $(AX25_LIB)
ax25mond_SOURCES = \
diff --git a/ax25mond/ax25mond.conf.5 b/ax25mond/ax25mond.conf.man
index 66d343e..cc8a827 100644
--- a/ax25mond/ax25mond.conf.5
+++ b/ax25mond/ax25mond.conf.man
@@ -1,11 +1,11 @@
.TH AX25MOND.CONF 5 "30 January 1999" Linux "Linux Programmer's Manual"
.SH NAME
-ax25mond.conf \- Specify the sockets which ax25mond will provide.
+ax25mond.conf \- Specify the sockets which @@@ax25mond@@@ will provide.
.SH DESCRIPTION
.LP
The
.B ax25mond.conf
-file specifies the internet- and unix-sockets which ax25mond(8)
+file specifies the internet- and unix-sockets which @@@ax25mond@@@(8)
will provide. Example:
.LP
# Create an internet socket on port 1234 where all the
@@ -21,10 +21,10 @@ rxtx *:1234
rx unix:/var/spool/ax25/monitor
.br
.LP
-You may specify up to 5 sockets (definable in ax25mond.c) and ax25mond
+You may specify up to 5 sockets (definable in ax25mond.c) and @@@ax25mond@@@
will accept up to 50 connects (also definable in ax25mond.c).
.SH FILES
.LP
/etc/ax25/ax25mond.conf
.SH "SEE ALSO"
-.BR ax25mond (8).
+.BR @@@ax25mond@@@ (8).
diff --git a/ax25mond/ax25mond.8 b/ax25mond/ax25mond.man
index 2ee9629..f62ae83 100644
--- a/ax25mond/ax25mond.8
+++ b/ax25mond/ax25mond.man
@@ -1,9 +1,9 @@
-.TH AX25MOND 8 "30 January 1999" Linux "Linux System Managers Manual"
+.TH @@@AX25MOND@@@ 8 "30 January 1999" Linux "Linux System Managers Manual"
.SH NAME
-ax25mond \- dump the AX.25 network traffic and and provide sockets
+@@@ax25mond@@@ \- dump the AX.25 network traffic and and provide sockets
where the received data will be retransmitted
.SH SYNOPSIS
-.B ax25mond [-v|--version]
+.B @@@ax25mond@@@ [-v|--version]
.SH DESCRIPTION
.LP
.B Ax25mond