From c32ed08191f21206ef14c30852f9846ef6977276 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Wed, 13 Mar 2024 11:01:52 +0100 Subject: [PATCH] Fix DOCBOOK_TO_MAN variable use in doc Makefile Not using quotes causes problems when DOCBOOK_TO_MAN contains command and argument --- expat/doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/doc/Makefile.am b/expat/doc/Makefile.am index 3538d0dd..9d12923d 100644 --- a/expat/doc/Makefile.am +++ b/expat/doc/Makefile.am @@ -37,7 +37,7 @@ dist_man_MANS = xmlwf.1 xmlwf.1: xmlwf.xml -rm -f $@ - test x$(DOCBOOK_TO_MAN) != x && $(DOCBOOK_TO_MAN) $< + test "x$(DOCBOOK_TO_MAN)" != x && $(DOCBOOK_TO_MAN) $< test -f $@ || mv XMLWF.1 $@ endif