[gnomemm-website] docs/Makefile.am: Support builddir != srcdir



commit 91b6eac899c4109acbbc5fcd35b7e111c8eb8f0b
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Fri Jan 7 16:38:47 2022 +0100

    docs/Makefile.am: Support builddir != srcdir

 docs/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index a718bde..63ab112 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -70,7 +70,7 @@ $(website_indexes): html/%/index.html:$(addprefix %/,$(HELP_FILES))
   lang=$(subst html/,,$(subst /index.html,,$@))
        $(AM_V_at)rm -rf html/$(lang)
        $(AM_V_at)$(MKDIR_P) html/$(lang)
-       $(AM_V_GEN)$(XSLTPROC) -o html/$(lang)/ --xinclude param.xsl $(srcdir)/$(lang)/$(help_index_file)
+       $(AM_V_GEN)$(XSLTPROC) -o html/$(lang)/ --xinclude $(srcdir)/param.xsl 
$(builddir)/$(lang)/$(help_index_file)
        $(AM_V_at)rm -f html/$(lang)/root.html
 
 # Create a html generation of the C locale's version of the DocBook,
@@ -78,7 +78,7 @@ $(website_indexes): html/%/index.html:$(addprefix %/,$(HELP_FILES))
 html/en/index.html: $(addprefix $(srcdir)/C/,$(HELP_FILES))
        $(AM_V_at)rm -fr html/en
        $(AM_V_at)$(MKDIR_P) html/en
-       $(AM_V_GEN)$(XSLTPROC) -o html/en/ --xinclude param.xsl $(srcdir)/C/$(help_index_file)
+       $(AM_V_GEN)$(XSLTPROC) -o html/en/ --xinclude $(srcdir)/param.xsl $(srcdir)/C/$(help_index_file)
        
 validate: $(addprefix $(srcdir)/C/,$(HELP_FILES))
        $(XMLLINT) --xinclude --postvalid --noout $<


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