CVS: crater/doc-tools/openjade POST_INSTALL,NONE,1.1

nhudson at lunar-linux.org nhudson at lunar-linux.org
Thu Jul 24 03:32:27 GMT 2003


Update of /var/cvs/lunar/crater/doc-tools/openjade
In directory dbguin.lunar-linux.org:/tmp/cvs-serv11466/openjade

Added Files:
	POST_INSTALL 
Log Message:

Adding sgml-common and fixing more on openjade



--- NEW FILE: POST_INSTALL ---
cd $SOURCE_DIRECTORY
CATALOGDIR="/usr/share/sgml/dsssl/$MODULE-$VERSION"
centralized="/etc/sgml/catalog"

if ! [ -e "$centralized" ]; then
     echo "Creating $centralized!" 
     mkdir -p /etc/sgml
     touch $centralized
fi                                             &&

/usr/bin/install-catalog --add $centralized $CATALOGDIR/catalog       &&
/usr/bin/install-catalog --add $centralized $CATALOGDIR/pubtext/catalog     &&
/usr/bin/install-catalog --add $centralized $CATALOGDIR/contrib/catalog     &&
/usr/bin/install-catalog --add $centralized $CATALOGDIR/unicode/catalog     &&

message "Testing openjade install!"            &&
export SGML_CATALOG_FILES=/usr/share/sgml/sgml-iso-entities-8879.1986/catalog      
&&

pwd
mkdir testkit                                  &&
( 
  cd testkit                                   &&
  wget http://docbook.sourceforge.net/release/dsssl/current/doc/testdata/jtest.sgm &&
  wget http://docbook.sourceforge.net/release/dsssl/current/doc/testdata/jtest.dsl &&

  /usr/bin/jade -t rtf -d jtest.dsl jtest.sgm  &&

  if [ -e jtest.rtf ]; then
    message ""
    message "Openjade install is good!"
  fi
)





More information about the Lunar-commits mailing list