pkgconfig_DATA = openconnect.pc
-EXTRA_DIST = version.sh openconnect.8 COPYING.LGPL
+EXTRA_DIST = version.sh COPYING.LGPL
DISTCLEANFILES = $(pkgconfig_DATA)
fi
AC_DEFINE_UNQUOTED(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}")
+AC_SUBST(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}")
case $host_os in
*linux* | *gnu*)
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)
.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
$(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