As we specified -Wall option for autoreconf in autogen.sh, we got
the following warning while running ./autogen.sh:

| tests/XSLTMark/Makefile.am:420: warning: user target 'html' defined here ...
| automake: ... overrides Automake target 'html' defined here
| tests/XSLTMark/Makefile.am:420: consider using html-local instead of html

Considering that the target name html is already used in its rule,
we use the 'override' keyword to override html target in Automake
explicitly to suppress the above warning.

Reported-by: Tianjin Ke <[email protected]>
Tested-by: Tianjin Ke <[email protected]>
Signed-off-by: Junling Zheng <[email protected]>
---
 tests/XSLTMark/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/XSLTMark/Makefile.am b/tests/XSLTMark/Makefile.am
index 250992c3..fb6f049e 100644
--- a/tests/XSLTMark/Makefile.am
+++ b/tests/XSLTMark/Makefile.am
@@ -417,7 +417,7 @@ game:                       game.xml $(xsltproc)
        fi
        @rm -f [email protected]
 
-html:                  html.xml $(xsltproc)
+override html:         html.xml $(xsltproc)
        @(echo > .memdump)
        @log=`$(CHECKER) $(xsltproc) \
                $(srcdir)/[email protected] $< > [email protected]; \
-- 
2.27.0

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
https://mail.gnome.org/mailman/listinfo/xslt

Reply via email to