File x11vnc-examples.diff of Package x11vnc
diff --git a/Makefile.am b/Makefile.am
index 9ad698b..da1837a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
src \
- misc
+ examples
desktopdir = $(datadir)/applications
desktop_DATA = x11vnc.desktop
diff --git a/configure.ac b/configure.ac
index b17beff..1f54a45 100644
--- a/configure.ac
+++ b/configure.ac
@@ -524,7 +524,7 @@ AM_CONDITIONAL(HAVE_RPM, test "$RPMSOURCEDIR" != "NOT-FOUND")
AM_CONDITIONAL(WITH_X11VNC, test "$build_x11vnc" = "yes")
AC_SUBST(RPMSOURCEDIR)
-AC_CONFIG_FILES([Makefile src/Makefile misc/Makefile misc/turbovnc/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile examples/turbovnc/Makefile])
AC_OUTPUT
diff --git a/misc/turbovnc/README b/misc/turbovnc/README
index 328929c..7f95263 100644
--- a/misc/turbovnc/README
+++ b/misc/turbovnc/README
@@ -45,7 +45,7 @@ QUICK-START:
For those in a hurry:
- cd x11vnc-x.y.z/x11vnc/misc/turbovnc
+ cd x11vnc-x.y.z/x11vnc/examples/turbovnc
./apply_turbovnc
cd ../../..
env LDFLAGS='-L/DIR -Xlinker --rpath=/DIR' ./configure
@@ -58,7 +58,7 @@ PATCHING AND BUILDING:
----------------------
After unpacking your x11vnc-x.y.z.tar.gz tarball cd to the
-x11vnc-x.y.z/x11vnc/misc/turbovnc (where this README file is) and from
+x11vnc-x.y.z/x11vnc/examples/turbovnc (where this README file is) and from
that directory run:
./apply_turbovnc
diff --git a/src/help.c b/src/help.c
index 56e559f..5e63ad7 100644
--- a/src/help.c
+++ b/src/help.c
@@ -1621,7 +1621,7 @@ void print_help(int mode) {
" Xdummy:\n"
"\n"
" The Xdummy wrapper is part of the x11vnc source code\n"
-" (x11vnc/misc/Xdummy) It should be available in PATH\n"
+" (x11vnc/examples/Xdummy) It should be available in PATH\n"
" and have run \"Xdummy -install\" once to create the\n"
" shared library. Xdummy only works on Linux. As of\n"
" 12/2009 it no longer needs to be run as root, and the\n"
diff --git a/x11vnc.1 b/x11vnc.1
index 730f341..a23b1fd 100644
--- a/x11vnc.1
+++ b/x11vnc.1
@@ -1788,7 +1788,7 @@ By default FINDCREATEDISPLAY will try Xvfb and then
Xdummy:
.IP
The Xdummy wrapper is part of the x11vnc source code
-(x11vnc/misc/Xdummy) It should be available in PATH
+(x11vnc/examples/Xdummy) It should be available in PATH
and have run "Xdummy \fB-install"\fR once to create the
shared library. Xdummy only works on Linux. As of
12/2009 it no longer needs to be run as root, and the