[Lunar-commits] CVS: moonbase/doc-tools/sgml-common BUILD, 1.3, 1.4 DETAILS, 1.4, 1.5 POST_INSTALL, 1.4, 1.5 PRE_REMOVE, 1.3, 1.4

Moritz Heiber moe at lunar-linux.org
Tue Feb 15 19:33:42 UTC 2005


Update of /var/cvs/lunar/moonbase/doc-tools/sgml-common
In directory espresso.foo-projects.org:/tmp/cvs-serv20181

Modified Files:
	BUILD DETAILS POST_INSTALL PRE_REMOVE 
Log Message:
Well, this will tell you sgml-common! BEHAVE!


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/sgml-common/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD	17 Jan 2003 12:09:14 -0000	1.3
+++ BUILD	15 Feb 2005 19:33:39 -0000	1.4
@@ -1,20 +1,9 @@
 (
+  patch_it $SOURCE2 1 &
 
-  ##all of this odd behavior is caused by Red Hat providing their package
-  ##with fscking symlinks to the requisite pieces of automake!
-
-  cd $BUILD_DIRECTORY/$MODULE-$VERSION                   &&
-  rm -f COPYING INSTALL install-sh missing mkinstalldirs &&
-  ln -sf /usr/share/automake/COPYING COPYING             &&
-  ln -sf /usr/share/automake/INSTALL INSTALL             &&
-  ln -sf /usr/share/automake/install-sh install-sh       &&
-  ln -sf /usr/share/automake/missing missing             &&
-  ln -sf /usr/share/automake/mkinstalldirs mkinstalldirs &&
-
-  for FILE in `find . -name Makefile.in` ; do
-    sedit "s/docdir = @docdir@/docdir = \/usr\/share\/doc/" $FILE
-    sedit "s/sgml-common- at VERSION@\/html/sgml-common\/html/g" $FILE
-  done
+  aclocal &&
+  automake --add-missing --copy --gnu &&
+  autoconf &&
 
   default_build
 

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/sgml-common/DETAILS,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- DETAILS	5 Oct 2004 09:29:56 -0000	1.4
+++ DETAILS	15 Feb 2005 19:33:39 -0000	1.5
@@ -1,12 +1,13 @@
           MODULE=sgml-common
          VERSION=0.6.3
 	  SOURCE=$MODULE-$VERSION.tgz
+	 SOURCE2=sgml-common-$VERSION-manpage-1.patch
    SOURCE_URL[0]=ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/
    SOURCE_URL[1]=http://lunar-linux.org/lunar/mirrors/docbook/
+     SOURCE2_URL=http://www.linuxfromscratch.org/blfs/downloads/svn/
         WEB_SITE=http://www.iso.ch/cate/3524030.html
          ENTERED=20020630
          UPDATED=20030818
-      MAINTAINER=csm at moongroup.com
            SHORT="Base ISO character entities and utilities for SGML and XML"
 cat << EOF
 This module includes a set of characters symbolic names ("character entities") used by SGML and XML documents of many types, very basic utilities to allow manipulation of SGML "centralized catalogs", and the "SGML declaration" of XML.

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/sgml-common/POST_INSTALL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- POST_INSTALL	18 Aug 2003 00:42:59 -0000	1.4
+++ POST_INSTALL	15 Feb 2005 19:33:39 -0000	1.5
@@ -1,9 +1,10 @@
-centralized="/etc/sgml/catalog"
+CENTRALIZED="/etc/sgml/catalog"
 
-if ! [ -e "$centralized" ]; then
-     echo "Creating $centralized!" 
-     touch $centralized
+if ! [ -e "$CENTRALIZED" ]; then
+     echo "Creating $CENTRALIZED"
+     mkdir -p /etc/sgml
+     touch $CENTRALIZED
 fi
 
-/usr/bin/install-catalog -a $centralized /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
-/usr/bin/install-catalog --remove $centralized /etc/sgml/catalog
+/usr/bin/install-catalog --add $CENTRALIZED /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+/usr/bin/install-catalog --remove $CENTRALIZED /etc/sgml/catalog

Index: PRE_REMOVE
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/sgml-common/PRE_REMOVE,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- PRE_REMOVE	18 Aug 2003 00:42:59 -0000	1.3
+++ PRE_REMOVE	15 Feb 2005 19:33:39 -0000	1.4
@@ -1,4 +1,4 @@
-centralized="/etc/sgml/catalog"
+CENTRALIZED="/etc/sgml/catalog"
 
-/usr/bin/install-catalog --remove $centralized /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
-/usr/bin/install-catalog --remove $centralized $centralized
+/usr/bin/install-catalog --remove $CENTRALIZED /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+/usr/bin/install-catalog --remove $CENTRALIZED $CENTRALIZED



More information about the Lunar-commits mailing list