>>> "Siegfried" == Siegfried Keusch <[EMAIL PROTECTED]> writes:

[...]

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

It's easier to define a `clean-local' target.  This will be
called by `make clean'.  Just add something like this to your
docbook.am:

clean-local:
        $(RM) -f $(SGMLFILES:.sgml=.pdf) $(SGMLFILES:.sgml=.ps)

 Siegfried> the thing i wanted was to simply add
 Siegfried> SGMLFILES=architecture.sgml glossary.sgml
 Siegfried> to any makefile.am and then the proper documentation
 Siegfried> is created.

Someone would have to add DocBook support to Automake.  Would
you be the guy? http://sources.redhat.com/automake/contribute.html
-- 
Alexandre Duret-Lutz



Reply via email to