[Lunar-commits]
CVS: moonbase/doc-tools/docbook-3.0 POST_REMOVE, 1.4,
1.5 BUILD, 1.1, 1.2 POST_INSTALL, 1.2, 1.3 PRE_BUILD, 1.1,
1.2 PRE_REMOVE, 1.1, 1.2
Moritz Heiber
moe at lunar-linux.org
Tue Feb 15 17:58:07 UTC 2005
Update of /var/cvs/lunar/moonbase/doc-tools/docbook-3.0
In directory espresso.foo-projects.org:/tmp/cvs-serv30693
Modified Files:
BUILD POST_INSTALL PRE_BUILD PRE_REMOVE
Added Files:
POST_REMOVE
Log Message:
docbook-* renewal-rampage continuous!
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-3.0/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD 1 Aug 2003 02:16:45 -0000 1.1
+++ BUILD 15 Feb 2005 17:58:04 -0000 1.2
@@ -1,14 +1,17 @@
(
TARGET=/usr/share/sgml/docbook/$VERSION
- cd $SOURCE_DIRECTORY &&
- prepare_install &&
+ prepare_install &&
if ! [ -d "$TARGET" ]; then
mkdir -p $TARGET
- fi &&
-
- cp -a * $TARGET &&
+ fi &&
+
+ rm -rf $SOURCE_DIRECTORY/old.libraries &&
- ln -sf $TARGET/docbook.cat $TARGET/catalog
+ for DFILE in $SOURCE_DIRECTORY/*; do
+ install -m644 $DFILE $TARGET/
+ done &&
+
+ ln -sf $TARGET/docbook.cat $TARGET/catalog
) > $C_FIFO 2>&1
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-3.0/POST_INSTALL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- POST_INSTALL 20 Sep 2004 17:48:28 -0000 1.2
+++ POST_INSTALL 15 Feb 2005 17:58:04 -0000 1.3
@@ -1,7 +1,11 @@
-export centralized=/etc/sgml/catalog
-export docbook_install_dir=/usr/share/sgml/docbook/$VERSION
+CENTRALIZED=/etc/sgml/catalog
+DOCBOOK_INSTALL_DIR=/usr/share/sgml/docbook/$VERSION
-install-catalog --add $centralized $docbook_install_dir/catalog
-rm -fr /usr/src/tmp
-echo ""
-echo "Docbook-3.0 installed"
+if ! [ -e "$CENTRALIZED" ]; then
+ echo "Creating $CENTRALIZED"
+ mkdir -p /etc/sgml
+ touch $CENTRALIZED
+fi
+
+install-catalog --add $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
+install-catalog -r $CENTRALIZED /etc/sgml/catalog
Index: PRE_BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-3.0/PRE_BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- PRE_BUILD 1 Aug 2003 02:16:45 -0000 1.1
+++ PRE_BUILD 15 Feb 2005 17:58:04 -0000 1.2
@@ -1,3 +1,3 @@
-mkdir -p $SOURCE_DIRECTORY
+mk_source_dir $SOURCE_DIRECTOY &&
unzip $SOURCE_CACHE/$SOURCE -d $SOURCE_DIRECTORY
Index: PRE_REMOVE
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-3.0/PRE_REMOVE,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- PRE_REMOVE 1 Aug 2003 02:16:45 -0000 1.1
+++ PRE_REMOVE 15 Feb 2005 17:58:04 -0000 1.2
@@ -1,4 +1,4 @@
-export centralized=/etc/sgml/catalog
-export docbook_install_dir=/usr/share/sgml/$MODULE
+CENTRALIZED=/etc/sgml/catalog
+DOCBOOK_INSTALL_DIR=/usr/share/sgml/docbook/$VERSION
-install-catalog -r $centralized $docbook_install_dir/docbook.cat
+install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
More information about the Lunar-commits
mailing list