summaryrefslogtreecommitdiffstats
path: root/prepare_x11vnc_dist.sh
diff options
context:
space:
mode:
authorrunge <runge>2004-09-01 02:19:06 +0000
committerrunge <runge>2004-09-01 02:19:06 +0000
commit3495019ada3acd3114679704b8d686fb1bb429f6 (patch)
treededc9d9ca5ac2cc78ee29d398ffdb2367f33b88d /prepare_x11vnc_dist.sh
parent86d7695f8b82ff542672e34645825612c5c7f577 (diff)
downloadlibtdevnc-3495019ada3acd3114679704b8d686fb1bb429f6.tar.gz
libtdevnc-3495019ada3acd3114679704b8d686fb1bb429f6.zip
x11vnc: new pointer input handling algorithm; x11vnc pkg installs java viewer
Diffstat (limited to 'prepare_x11vnc_dist.sh')
-rw-r--r--prepare_x11vnc_dist.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/prepare_x11vnc_dist.sh b/prepare_x11vnc_dist.sh
index 8cbe8cc..9c1ff03 100644
--- a/prepare_x11vnc_dist.sh
+++ b/prepare_x11vnc_dist.sh
@@ -16,7 +16,7 @@ sed -e "s/LibVNCServer, [^,)]*\([(,]\)*/x11vnc, $VERSION\1/g" \
mv Makefile.am Makefile.am.LibVNCServer
cat Makefile.am.LibVNCServer | \
-sed -e "s/^SUBDIRS.*$/SUBDIRS=libvncserver x11vnc/" \
+sed -e "s/^SUBDIRS.*$/SUBDIRS=libvncserver x11vnc classes/" \
-e "s/^DIST_SUBDIRS.*$/DIST_SUBDIRS=libvncserver x11vnc classes/" \
-e "/all: make_config_executable/,\$d" \
-e "/^.*bin_SCRIPTS.*$/d" \
@@ -49,6 +49,10 @@ cat libvncserver/Makefile.am.LibVNCServer | \
sed -e "s/\(include\|LIB\|lib\)_/noinst_/g" \
> libvncserver/Makefile.am
+cp classes/Makefile.am classes/Makefile.am.LibVNCServer
+echo 'pkgdatadir = $(datadir)/@PACKAGE@/classes' >> classes/Makefile.am
+echo 'pkgdata_DATA=VncViewer.jar index.vnc' >> classes/Makefile.am
+
mv acinclude.m4 acinclude.m4.LibVNCServer
cat acinclude.m4.LibVNCServer | \
@@ -56,7 +60,7 @@ sed -e "s/^\(_PKG.*\)\$PACKAGE\(.*\)$/\1LibVNCServer\2/" \
> acinclude.m4
make x11vnc-${VERSION}.tar.gz
-for f in configure.ac Makefile.am libvncserver/Makefile.am acinclude.m4; do
+for f in configure.ac Makefile.am libvncserver/Makefile.am classes/Makefile.am acinclude.m4; do
mv -f $f.LibVNCServer $f
done