Gaetan Nadon wrote:
> This will allow a dependency to be specified as done in libX11:
> 
> %.html: %.xml $(dist_spec_DATA)
>       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
> 
> Signed-off-by: Gaetan Nadon <[email protected]>
> ---
>  doc/xml/xmlrules.in |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in
> index 3a78569..468cfaf 100644
> --- a/doc/xml/xmlrules.in
> +++ b/doc/xml/xmlrules.in
> @@ -48,17 +48,17 @@ endif
>  
>  if HAVE_XMLTO_TEXT
>  BUILT_DOC_FILES += $(TXT_FILES)
> -.xml.txt:
> +%.txt: %.xml
>       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
>  endif
>  
>  BUILT_DOC_FILES += $(HTML_FILES)
> -.xml.html:
> +%.html: %.xml
>       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
>  
>  if HAVE_FOP
>  BUILT_DOC_FILES += $(PDF_FILES)
> -.xml.pdf:
> +%.pdf: %.xml
>       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
>  endif
>  

Reviewed-by: Alan Coopersmith <[email protected]>

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to