Skip to content

Commit

Permalink
Show correct path to vpnc-script in the man page
Browse files Browse the repository at this point in the history
Insert the actual path to vpnc-script that is compiled into the
openconnect executable.

Signed-off-by: Mike Miller <mtmiller@ieee.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Mike Miller authored and David Woodhouse committed Jun 7, 2012
1 parent 5583f21 commit cdc8458
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -31,7 +31,7 @@ endif

pkgconfig_DATA = openconnect.pc

EXTRA_DIST = version.sh openconnect.8 COPYING.LGPL
EXTRA_DIST = version.sh COPYING.LGPL

DISTCLEANFILES = $(pkgconfig_DATA)

Expand Down
3 changes: 2 additions & 1 deletion configure.ac
Expand Up @@ -53,6 +53,7 @@ elif test "$with_vpnc_script" = "no"; then
fi

AC_DEFINE_UNQUOTED(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}")
AC_SUBST(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}")

case $host_os in
*linux* | *gnu*)
Expand Down Expand Up @@ -390,4 +391,4 @@ done
AC_SUBST(GITVERSIONDEPS)

AC_OUTPUT(Makefile openconnect.pc po/Makefile www/Makefile libopenconnect.map \
www/styles/Makefile www/inc/Makefile www/images/Makefile)
openconnect.8 www/styles/Makefile www/inc/Makefile www/images/Makefile)
6 changes: 3 additions & 3 deletions openconnect.8 → openconnect.8.in
Expand Up @@ -211,9 +211,9 @@ compatible with the
.B vpnc\-script
which is shipped with the "vpnc" VPN client. See
.I http://www.infradead.org/openconnect/vpnc-script.html
for more information. Unless OpenConnect was built in a non-standard way,
the default is
.B /etc/vpnc/vpnc-script
for more information. This version of OpenConnect is configured to use
.B @DEFAULT_VPNCSCRIPT@
by default.
.TP
.B \-S,\-\-script\-tun
Pass traffic to 'script' program over a UNIX socket, instead of to a kernel
Expand Down
2 changes: 1 addition & 1 deletion www/Makefile.am
Expand Up @@ -24,7 +24,7 @@ $(START_PAGES): menu2-started.xml
$(MAIN_PAGES): menu2.xml

manual.html: openconnect.8.inc
openconnect.8.inc: $(top_srcdir)/openconnect.8
openconnect.8.inc: ../openconnect.8
groff -t -K UTF-8 -mandoc -Txhtml $? | sed -e '1,/<body>/d' -e '/<\/body>/,$$d' > $@

EXTRA_DIST = $(patsubst %.html,%.xml,$(ALL_PAGES)) menu1.xml menu2*.xml html.py

0 comments on commit cdc8458

Please sign in to comment.