This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS PDF-docs


>>>>> "Iztok" == Iztok Zupet <iztok.zupet@vsr.si> writes:

    >> MAIN_SGML should be a single file, not the set of sgml files.
    >> If documentation involves multiple sgml files, e.g. the libcdl
    >> docs, then MAIN_SGML should be the toplevel file and OTHER_SGML
    >> should list the remaining files. The makefile dependencies use
    >> both MAIN_SGML and OTHER_SGML.

    Iztok> Then a bug must have been introduced before. The rules.doc,
    Iztok> as pulled from cvs, expand the MAIN_SGML into the whole
    Iztok> list of sgmls used to build the ecos.html, which caused an
    Iztok> error only while building PDF target and not HTML.

I think the problem is with makemakefile, which generates something
not expected by rules.doc. The patch below should fix that.

Bart

Index: makemakefile
===================================================================
RCS file: /cvs/ecos/ecos/doc/sgml/makemakefile,v
retrieving revision 1.2
diff -u -u -r1.2 makemakefile
--- makemakefile	8 Aug 2002 16:20:02 -0000	1.2
+++ makemakefile	14 Oct 2002 23:20:16 -0000
@@ -55,7 +55,8 @@
 
 TOPLEVEL   := ../../packages
 EOF
-/bin/echo -n MAIN_SGML   := ecos.sgml >> makefile
+/bin/echo MAIN_SGML   := ecos.sgml >> makefile
+/bin/echo -n OTHER_SGML   :=  >> makefile
 
 cat >ecos.sgml <<EOF
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]