chiark / gitweb /
vars.am: Quote `$(manext)', or things break if it's empty.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 30 Apr 2022 16:00:22 +0000 (17:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 30 Apr 2022 19:12:28 +0000 (20:12 +0100)
It's not usually empty because it's defaulted in `configure.ac', but
it can be overridden to be empty.  Also, there might be bugs.

vars.am

diff --git a/vars.am b/vars.am
index 9870cef014b52a44150196577f2e8331c43f833b..9ce78f9c0be3827088c6771ba6e82e70a84d2c67 100644 (file)
--- a/vars.am
+++ b/vars.am
@@ -130,7 +130,7 @@ install-man: $(LIBMANS) $(PROGMANS)
                install $(PROGMANS)
        $(top_srcdir)/config/maninst \
                -d $(DESTDIR)$(mandir) -s $(srcdir) \
-               -i "$(INSTALL)" -e $(manext) \
+               -i "$(INSTALL)" -e "$(manext)" \
                install $(LIBMANS)
 .PHONY: install-man
 
@@ -141,7 +141,7 @@ uninstall-man:
                -d $(DESTDIR)$(mandir) -s $(srcdir) \
                uninstall $(PROGMANS)
        $(top_srcdir)/config/maninst \
-               -d $(DESTDIR)$(mandir) -s $(srcdir) -e $(manext) \
+               -d $(DESTDIR)$(mandir) -s $(srcdir) -e "$(manext)" \
                uninstall $(LIBMANS)
 .PHONY: uninstall-man