automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

docbook support


From: Siegfried Keusch
Subject: docbook support
Date: Thu, 07 Nov 2002 12:14:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016

we use automake in a project (java & c++) and now want to
build our documentation using automake.
project path looks like this
/prog1
/prog1/src
/prog1/doc
/prog2
...

makefile.am's in the src dir is no problem,
but for the documentation it looks like this (e.g):

SGMLFILES=architecture.sgml glossary.sgml
include $(top_srcdir)/doc/docbook.am

so in every directory containing documentation
i have to link to this file. imagine this filename changes...

another point is that i had to change the clear.am to this
...
clean-generic:
CLEAN   -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
MAINTAINERCLEAN -test -z "@MCFILES@" || rm -f @MFILES@
    $(RM) -f $(SGMLFILES:.sgml=.pdf) $(SGMLFILES:.sgml=.ps)
...

this doesn't look fine...
the thing i wanted was to simply add
        SGMLFILES=architecture.sgml glossary.sgml
to any makefile.am and then the proper documentation
is created.

thx Siegfried


--
siegfried keusch             | email : address@hidden
maxxio technologies GmbH     | www   : http://www.maxxio.com/
prinz eugen strasse 8        | voice : +43 1 205 255 404
a-1040 vienna/austria/europe | fax   : +43 1 205 255 900





reply via email to

[Prev in Thread] Current Thread [Next in Thread]