Commit ebf2be4c authored by Russ Fish's avatar Russ Fish

Refine the distribution mechanics and documentation.

parent c2c8831b
......@@ -23,14 +23,15 @@ INCDIRS = -I${HVINC} -I/usr/X11R6/include -I/usr/local/include/python2.3
###STATIC = -static
LDLIBS = ${HVLIB} ${STATIC} -L/usr/X11R6/lib -lGLU -lGL -lXmu -lXext -lX11 -lm
# Distribute the Python scripts, sources, shared library, and sample input files.
# Distribute the Python scripts, sources, shared library, sample input files, and user doc.
PYFILES = hypview.py exptToHv.py sshxmlrpc.py emulabclient.py hvFrameUI.py hv.py
SRCFILES = README ROADMAP GNUMakefile hvgui.wxg hvmain.cpp hv.i hv.mod _hv.cpp
BINFILES = _hv.so
DATAFILES = BigLan.hyp ts600.hyp
SCRIPTFILES = hypview pangorc.local pango.modules.local
DOCFILES = www
DISTFILES = ${SCRIPTFILES} ${PYFILES} ${SRCFILES} ${BINFILES} ${DATAFILES} ${DOCFILES} ${HVROOT}
DOCDIR = www
DISTFILES = ${SCRIPTFILES} ${PYFILES} ${SRCFILES} ${BINFILES} ${DATAFILES} ${DOCDIR} ${HVROOT}
DISTARCH = FreeBSD
# Finally, make something.
default: _hv.so
......@@ -66,8 +67,8 @@ dist:
# Wrap a top-level hyperviewer directory around the dist files in the tarball.
mkdir -p temp/hyperviewer
cp -rp ${DISTFILES} temp/hyperviewer
ln -s www/index.html temp/hyperviewer
tar cfz hyperviewer.tgz -C temp hyperviewer
ln -s ${DOCDIR}/index.html temp/hyperviewer
tar cfz hyperviewer-${DISTARCH}.tgz -C temp hyperviewer
rm -rf temp
clean:
......
......@@ -2,29 +2,13 @@ HyperViewer in Emulab - A wxGlade Python GUI on top of Tamara Munzner's 3D
hyperbolic graph viewer from Stanford. This is a client program, connected to
the Emulab database via XML-RPC over SSH.
See the writeup in ../www/hyperviewer/index.html .
This is Very Alpha Software. Until we get wxPython compatibility issues
resolved there will not be a binary distribution of the client. Thus you need
to do a make from sources on the C++ part, which is imported by Python from a
shared library at runtime. Before you can do that you must first have
wxPython installed, and wxGlade if you want to edit the GUI. Then do a make
as described in the writeup.
See the installation and usage writeup in www/index.html !
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004 University of Utah and the Flux Group.
# All rights reserved.
#
# Permission to use, copy, modify and distribute this software is hereby
# granted provided that (1) source code retains these copyright, permission,
# and disclaimer notices, and (2) redistributions including binaries
# reproduce the notices in supporting documentation.
#
# THE UNIVERSITY OF UTAH ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION. THE UNIVERSITY OF UTAH DISCLAIMS ANY LIABILITY OF ANY KIND
# FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
#
HyperViewer sources are included in the hypviewer subdirectory.
See hypviewer/README and hypviewer/COPYRIGHT.
See the hypviewer/README and hypviewer/COPYRIGHT files for more information.
......@@ -9,7 +9,12 @@
# Optionally use shared libs under the local directory.
if [ -d libs ]; then
LD_LIBRARY_PATH=./libs; export LD_LIBRARY_PATH
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=./libs:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=./libs
fi
export LD_LIBRARY_PATH
fi
# Optionally use Pango loadable modules under the local directory.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment