#!/bin/sh
#====================================================================
#  NeXus - Neutron & X-ray Common Data Format
#  
#  $Id: nxbuild.in 1030 2008-07-15 15:16:49Z Freddie Akeroyd $
#
#  applications/NXvalidate/nxvalidate.  Generated from nxvalidate.in by configure.
#  
#  Script for running nxvalidate
#
#  Copyright (C) 2010 Freddie Akeroyd
#  
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
# 
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  Lesser General Public License for more details.
# 
#  You should have received a copy of the GNU Lesser General Public
#  License along with this library; if not, write to the Free 
#  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
#  MA  02111-1307  USA
#             
#  For further information, see <http://www.nexusformat.org>
#
#====================================================================
prefix="/usr"
exec_prefix="${prefix}"
bindir="${exec_prefix}/bin"
sbindir="${exec_prefix}/sbin"
libexecdir="${exec_prefix}/libexec"
datadir="${datarootdir}"
datarootdir="${prefix}/share"
libdir="/usr/lib64"
infodir="${datarootdir}/info"
mandir="${datarootdir}/man"
includedir="${prefix}/include"
javadir="${datarootdir}/java"
#pkgdatadir=$(datadir)/nexus
#pkglibdir=$(libdir)/nexus
#pkgincludedir=$(includedir)/nexus
#top_builddir=..
export PATH=${bindir}:${PATH} LD_LIBRARY_PATH=${libdir}:${LD_LIBRARY_PATH}
java -jar ${javadir}/NXvalidate.jar $*
