CVS: crater/doc-tools/docbook-dsssl BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 Makefile, NONE, 1.1 POST_INSTALL, NONE, 1.1 POST_REMOVE, NONE, 1.1 PRE_REMOVE, NONE, 1.1

nhudson at lunar-linux.org nhudson at lunar-linux.org
Thu Jul 24 04:46:44 GMT 2003


Update of /var/cvs/lunar/crater/doc-tools/docbook-dsssl
In directory dbguin.lunar-linux.org:/tmp/cvs-serv22627/docbook-dsssl

Added Files:
	BUILD DEPENDS DETAILS Makefile POST_INSTALL POST_REMOVE 
	PRE_REMOVE 
Log Message:

Adding docbook-dsssl to crater


--- NEW FILE: BUILD ---
(

  cp $SCRIPT_DIRECTORY/Makefile $SOURCE_DIRECTORY  &&
  default_make

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends  openjade           &&
depends  docbook-sgml

--- NEW FILE: DETAILS ---
          MODULE=docbook-dsssl
         VERSION=1.78
          SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
   SOURCE_URL[0]=$SFORGE_URL/docbook/$SOURCE
        WEB_SITE=http://docbook.sourceforge.net/projects/dsssl/
         ENTERED=20020629
         UPDATED=20030616
           SHORT="These are DSSSL stylesheets for the DocBook DTD (they are also completely compatible with the DocBook XML DTD and the Simplified DocBook DTD)."
cat << EOF
DSSSL is a stylesheet language for both print and online rendering. The acronym stands for Document Style Semantics and Specification Language. It is defined by ISO/IEC 10179:1996. For more general information about DSSSL, see the DSSSL Page.
EOF

--- NEW FILE: Makefile ---
BINDIR = /usr/bin
DESTDIR = /usr/share/sgml/dsssl-stylesheets-1.78

all: install

install:
	mkdir -p $(BINDIR)
	mkdir -p $(DESTDIR)/dtds/decls
	mkdir -p $(DESTDIR)/lib
	mkdir -p $(DESTDIR)/common
	mkdir -p $(DESTDIR)/frames
	mkdir -p $(DESTDIR)/olink
	mkdir -p $(DESTDIR)/html
	mkdir -p $(DESTDIR)/print
	mkdir -p $(DESTDIR)/images
	install bin/collateindex.pl $(BINDIR)
	cp catalog $(DESTDIR)
	cp VERSION $(DESTDIR)
	cp dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls
	cp lib/dblib.dsl $(DESTDIR)/lib
	cp common/*.dsl $(DESTDIR)/common
	cp common/*.ent $(DESTDIR)/common
	cp frames/* $(DESTDIR)/frames
	cp olink/*.dsl $(DESTDIR)/olink
	cp html/*.dsl $(DESTDIR)/html
	cp lib/*.dsl $(DESTDIR)/lib
	cp print/*.dsl $(DESTDIR)/print
	cp images/*.gif $(DESTDIR)/images

--- NEW FILE: POST_INSTALL ---
centralized="/etc/sgml/catalog"
VER=$VERSION
if ! [ -e "$centralized" ]; then
     echo "Creating $centralized!"
     touch $centralized
fi

install-catalog --add $centralized /usr/share/sgml/dsssl-stylesheets-$VER/catalog

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

--- NEW FILE: PRE_REMOVE ---
centralized="/etc/sgml/catalog"
VER=$VERSION
install-catalog -r $centralized /usr/share/sgml/docbook/dsssl-stylesheets-$VER/catalog
install-catalog -r $centralized /usr/share/sgml/dsssl-stylesheets-$VER/catalog





More information about the Lunar-commits mailing list