Thread: stupid patches to compile cvs docs with debian

stupid patches to compile cvs docs with debian

From
andrea gelmini
Date:
first:

--- pgsql/configure     Wed Dec 20 11:57:33 2000
+++ pgsql/configure.mine        Wed Dec 20 11:57:16 2000
@@ -7693,7 +7693,8 @@
       for pgac_postfix in \
         sgml/stylesheets/nwalsh-modular \
         sgml/stylesheets/docbook \
-        sgml/docbook/dsssl/modular
+        sgml/docbook/dsssl/modular \
+       sgml/stylesheet/dsssl/docbook/nwalsh
       do
         pgac_candidate=$pgac_prefix/$pgac_infix/$pgac_postfix
         if test -r "$pgac_candidate/html/docbook.dsl" \




second:

--- pgsql/doc/src/Makefile      Wed Dec 20 11:59:43 2000
+++ pgsql/doc/src/Makefile.mine Wed Dec 20 11:51:58 2000
@@ -38,22 +38,22 @@
 admin.tar developer.tar reference.tar user.tar:
        $(MAKE) -C sgml clean
        $(MAKE) -C sgml $(basename $@).html
-       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
+       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html

 programmer.tar:
        $(MAKE) -C sgml clean
        $(MAKE) -C sgml programmer.html
-       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif
+       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics catalogs.gif connections.gif

 tutorial.tar:
        $(MAKE) -C sgml clean
        $(MAKE) -C sgml tutorial.html
-       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics clientserver.gif
+       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics clientserver.gif

 postgres.tar:
        $(MAKE) -C sgml clean
        $(MAKE) -C sgml postgres.html
-       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif clientserver.gif
connections.gif
+       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics catalogs.gif clientserver.gif connections.gif

 man.tar:
        $(MAKE) -C sgml man


ciao,
andrea

Re: stupid patches to compile cvs docs with debian

From
Peter Eisentraut
Date:
andrea gelmini writes:

> --- pgsql/doc/src/Makefile      Wed Dec 20 11:59:43 2000
> +++ pgsql/doc/src/Makefile.mine Wed Dec 20 11:51:58 2000
> @@ -38,22 +38,22 @@
>  admin.tar developer.tar reference.tar user.tar:
>         $(MAKE) -C sgml clean
>         $(MAKE) -C sgml $(basename $@).html
> -       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
> +       cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html

This won't fly.  The stylesheets do generate .htm files.  What version of
stylesheets does Debian install?  (cat /usr/lib/sgml/docbook/dsssl/modular/VERSION)

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


Re: stupid patches to compile cvs docs with debian

From
Peter Eisentraut
Date:
andrea gelmini writes:

> On Thu, Dec 21, 2000 at 06:57:26PM +0100, Peter Eisentraut wrote:
> > This won't fly.  The stylesheets do generate .htm files.  What version of
> > stylesheets does Debian install?  (cat /usr/lib/sgml/docbook/dsssl/modular/VERSION)
>
> gelma:~> cat /usr/lib/sgml/docbook/dsssl/modular/VERSION
> cat: /usr/lib/sgml/docbook/dsssl/modular/VERSION: No such file or directory
>
> gelma:~> cat /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/VERSION
> 1.57

Debian has unilaterally changed the default extension from .htm to .html.
We can't support that, IMHO.

> debian package is docbook-stylesheets 1.57-3

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/