updated to 0.6.11
authorArtur Frysiak <artur@frysiak.net>
Fri, 28 Jun 2002 08:39:32 +0000 (08:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    docbook-utils-catalog.patch -> 1.3

docbook-utils-catalog.patch

index 0efb9e7..e3f62bb 100644 (file)
@@ -1,16 +1,36 @@
---- docbook-utils-0.6.10/frontends/docbook.in.wiget    Mon Apr 15 18:58:21 2002
-+++ docbook-utils-0.6.10/frontends/docbook.in  Sun May 26 02:03:10 2002
-@@ -6,13 +6,7 @@
+--- docbook-utils-0.6.11/frontends/docbook.in.wiget    Fri Jun 28 10:37:48 2002
++++ docbook-utils-0.6.11/frontends/docbook.in  Fri Jun 28 10:38:53 2002
+@@ -6,33 +6,7 @@
  # Give the location of the centralized catalog
  # First try the one with a version matching the version that is indicated in the document
    centralized-catalog)
--      SGML_VERSION=`grep -i '<!DOCTYPE' $SGML_FILE | head -n 1 | sed 's/\(V[0-9][\.0-9]*\).*$/\1/; s/^.* V\([0-9][\.0-9]*\)/\1/'`
--      if [ -f "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook-${SGML_VERSION}"*".cat" ]
--      then echo "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook-${SGML_VERSION}"*".cat"
--      elif [ "${SGML_XML}" != "sgml" ]
--      then echo "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook.cat"
--      else echo "${SGML_CATALOGS_DIR}/catalog"
+-      if [ -n "$SGML_NORM" ]; then
+-        SGML_NORM_OPTS='-d'
+-      else
+-        SGML_NORM=cat
+-        SGML_NORM_OPTS=
 -      fi
+-      SGML_VERSION=`"$SGML_NORM" $SGML_NORM_OPTS -- "$SGML_FILE" 2>/dev/null |
+-                      grep -i '<!DOCTYPE' |
+-                      head -n 1 |
+-                      sed 's/^.*DocBook\( XML\)\? V\([0-9][\.0-9]*\).*$/\2/'`
+-      SGML_CATALOG=
+-      for f in "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook-${SGML_VERSION}"*".cat"
+-      do 
+-        if [ -f "$f" ]
+-        then
+-          SGML_CATALOG=$f
+-          break
+-        fi
+-      done
+-      if [ -z "SGML_CATALOG" ]
+-      then
+-        if [ "${SGML_XML}" != "sgml" ]
+-        then SGML_CATALOG=${SGML_CATALOGS_DIR}/${SGML_XML}-docbook.cat
+-        else SGML_CATALOG=${SGML_CATALOGS_DIR}/catalog
+-        fi
+-      fi
+-      echo "$SGML_CATALOG"
 +      echo "${SGML_CATALOGS_DIR}/catalog"
        ;;
  # Find a stylesheet on the model "html/docbook.dsl" or "print/docbook.dsl"
This page took 0.032811 seconds and 4 git commands to generate.