summaryrefslogtreecommitdiffstats
path: root/ax25ipd
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 /ax25ipd
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 'ax25ipd')
-rw-r--r--ax25ipd/Makefile.am20
-rw-r--r--ax25ipd/ax25ipd.conf.man (renamed from ax25ipd/ax25ipd.conf.5)16
-rw-r--r--ax25ipd/ax25ipd.man (renamed from ax25ipd/ax25ipd.8)16
3 files changed, 36 insertions, 16 deletions
diff --git a/ax25ipd/Makefile.am b/ax25ipd/Makefile.am
index 39ef22f..d544855 100644
--- a/ax25ipd/Makefile.am
+++ b/ax25ipd/Makefile.am
@@ -5,6 +5,26 @@ man_MANS = ax25ipd.8 ax25ipd.conf.5
EXTRA_DIST = $(man_MANS) $(etcfiles) $(doc_DATA)
+ax25ipd.8: ax25ipd.man
+ name_ax25ipd=$$(echo ax25ipd | sed -e '$(transform)') \
+ name_Ax25ipd=$$(echo $$name_ax25ipd | sed -r 's@^(.)@\U\1\E@') && \
+ name_AX25IPD=$$(echo $$name_ax25ipd | sed -r 's@^(.*)@\U\1\E@') && \
+ sed -e "s/@@@ax25ipd@@@/$$name_ax25ipd/g" \
+ -e "s/@@@Ax25ipd@@@/$$name_Ax25ipd/g" \
+ -e "s/@@@AX25IPD@@@/$$name_AX25IPD/g" \
+ ax25ipd.man > ax25ipd.1.tmp && \
+ mv ax25ipd.1.tmp ax25ipd.1;
+
+ax25ipd.conf.5: ax25ipd.conf.man
+ name_ax25ipd=$$(echo ax25ipd | sed -e '$(transform)') \
+ name_Ax25ipd=$$(echo $$name_ax25ipd | sed -r 's@^(.)@\U\1\E@') && \
+ name_AX25IPD=$$(echo $$name_ax25ipd | sed -r 's@^(.*)@\U\1\E@') && \
+ sed -e "s/@@@ax25ipd@@@/$$name_ax25ipd/g" \
+ -e "s/@@@Ax25ipd@@@/$$name_Ax25ipd/g" \
+ -e "s/@@@AX25IPD@@@/$$name_AX25IPD/g" \
+ ax25ipd.conf.man > ax25ipd.conf.5.tmp && \
+ mv ax25ipd.conf.5.tmp ax25ipd.conf.5;
+
docdir = ${datadir}/doc/ax25-apps
doc_DATA = README.ax25ipd HISTORY.ax25ipd COPYING.ax25ipd
diff --git a/ax25ipd/ax25ipd.conf.5 b/ax25ipd/ax25ipd.conf.man
index cc142c9..8586057 100644
--- a/ax25ipd/ax25ipd.conf.5
+++ b/ax25ipd/ax25ipd.conf.man
@@ -1,16 +1,16 @@
.TH AX25IPD.CONF 5 "7 July 1997" Linux "Linux Programmer's Manual"
.SH NAME
-ax25ipd.conf \- Control the operation of ax25ipd.
+ax25ipd.conf \- Control the operation of @@@ax25ipd@@@.
.SH DESCRIPTION
.LP
The
.B ax25ipd.conf
-file controls the operation of the ax25ipd(8) program. The operation of the
+file controls the operation of the @@@ax25ipd@@@(8) program. The operation of the
config file can best be seen in an example:
.LP
#
.br
-# ax25ipd configuration file for station floyd.vk5xxx.ampr.org
+# @@@ax25ipd@@@ configuration file for station floyd.vk5xxx.ampr.org
.br
#
.br
@@ -24,7 +24,7 @@ socket ip
.br
#
.br
-# Set ax25ipd mode of operation. (digi or tnc)
+# Set @@@ax25ipd@@@ mode of operation. (digi or tnc)
.br
#
.br
@@ -72,7 +72,7 @@ mode tnc
.br
# if you use tun/tap or ethertap instead of kissattach you may say, without
.br
-# leading slashes (!! - that's how ax25ipd consideres using the tty kiss
+# leading slashes (!! - that's how @@@ax25ipd@@@ consideres using the tty kiss
.br
# driver or tun/tap or ethertap):
.br
@@ -102,13 +102,13 @@ mode tnc
.br
# As serial port, you could assign physical ports like ttyS0 or ptys.
.br
-# ax25ipd supports BSD-style pseudo-terminals as well as the Unix98 pty's.
+# @@@ax25ipd@@@ supports BSD-style pseudo-terminals as well as the Unix98 pty's.
.br
# If the tty argument is "/dev/ptmx", then Unix98 behaviour
.br
# will automaticaly take effekt. With Unix98 pty's, the slave tty name
.br
-# could not be forseen. That's why ax25ipd will print the corresponding
+# could not be forseen. That's why @@@ax25ipd@@@ will print the corresponding
.br
# slave pty name as a separate line on stdout.
.br
@@ -202,4 +202,4 @@ More to come ...
.LP
/etc/ax25/ax25ipd.conf
.SH "SEE ALSO"
-.BR ax25ipd (8).
+.BR @@@ax25ipd@@@ (8).
diff --git a/ax25ipd/ax25ipd.8 b/ax25ipd/ax25ipd.man
index e84762c..8fc7cf6 100644
--- a/ax25ipd/ax25ipd.8
+++ b/ax25ipd/ax25ipd.man
@@ -1,25 +1,25 @@
-.TH AX25IPD 1 "12 September 2001" Linux "Linux Programmer's Manual"
+.TH @@@AX25IPD@@@ 1 "12 September 2001" Linux "Linux Programmer's Manual"
.SH NAME
-ax25ipd \- AX.25 into IP Encapsulator
+@@@ax25ipd@@@ \- AX.25 into IP Encapsulator
.SH SYNOPSIS
-.B ax25ipd [options]
+.B @@@ax25ipd@@@ [options]
.SH DESCRIPTION
.LP
-.B ax25ipd
+.B @@@ax25ipd@@@
is an RFC1226 compliant daemon capable of providing the encapsualtion
neccessary to send and receive AX.25 traffic across an IP transport.
.LP
Normally invoked as part of the boot order network initialisation,
-.B ax25ipd
+.B @@@ax25ipd@@@
is capable of talking directly to a serial port connected tnc, or over
a pipe to a linux AX.25 port. KAM DE Dual Port Kiss is also supported.
.LP
-.B ax25ipd
+.B @@@ax25ipd@@@
can be run as a pure encapsulator, or as a digital repeater with a
functional callsign. Destination IP addresses are determined from a
hardcoded map of callsign/IP Address pairs.
.LP
-.B ax25ipd
+.B @@@ax25ipd@@@
defaults to using
.B /etc/ax25/ax25ipd.conf
as its config file.
@@ -63,7 +63,7 @@ Logging needs to be properly implemented.
.LP
Command line parsing needs to be properly implemented.
.LP
-.B ax25ipd
+.B @@@ax25ipd@@@
should be part of the Linux AX.25 kernel support probably :-)
.SH AUTHORS
.nf