CVS: moonbase/doc-tools/docbook-3.1 BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1 POST_REMOVE, NONE, 1.1 PRE_BUILD, NONE, 1.1 PRE_REMOVE, NONE, 1.1

nhudson at lunar-linux.org nhudson at lunar-linux.org
Fri Aug 1 02:16:48 GMT 2003


Update of /var/cvs/lunar/moonbase/doc-tools/docbook-3.1
In directory dbguin.lunar-linux.org:/tmp/cvs-serv20808/docbook-3.1

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL POST_REMOVE PRE_BUILD 
	PRE_REMOVE 
Log Message:
 
 Adding docbook 3.0, 3.1, and 4.1 to moonbase.  This is for the new docbook
 install


--- NEW FILE: BUILD ---
(
  TARGET=/usr/share/sgml/docbook/$VERSION
 
  cd $SOURCE_DIRECTORY                          &&
  prepare_install                               &&
  if ! [ -d "$TARGET" ]; then
       mkdir -p $TARGET
  fi                                            &&
 
  cp -a * $TARGET                               &&
 
  ln -sf $TARGET/docbook.cat $TARGET/catalog 
  
) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends sgml-common

--- NEW FILE: DETAILS ---
          MODULE=docbook-3.1
             MOD=docbk31
         VERSION=3.1
          SOURCE=$MOD.zip
SOURCE_DIRECTORY=$BUILD_DIRECTORY/tmp
   SOURCE_URL[0]=http://www.lunar-linux.com/lunar/cache/$SOURCE
        WEB_SITE=http://www.oasis-open.org
         ENTERED=20030723
         UPDATED=20030723
           SHORT="The DocBook 3.1 DTD"
cat << EOF
The Docbook 3.1 DTD's

EOF

--- NEW FILE: POST_INSTALL ---
export centralized=/etc/sgml/catalog 
export docbook_install_dir=/usr/share/sgml/docbook/$VERSION

install-catalog --add $centralized $docbook_install_dir/catalog
echo ""
echo "Docbook-3.1 installed"

--- NEW FILE: POST_REMOVE ---
rm -fr /usr/share/sgml/docbook/$VERSION

--- NEW FILE: PRE_BUILD ---
mkdir -p $SOURCE_DIRECTORY
unzip $SOURCE_CACHE/$SOURCE -d $SOURCE_DIRECTORY
  

--- NEW FILE: PRE_REMOVE ---
export centralized=/etc/sgml/catalog
export docbook_install_dir=/usr/share/sgml/$MODULE

install-catalog -r $centralized $docbook_install_dir/docbook.cat  




More information about the Lunar-commits mailing list