Makefile: fixed for-loop in install receipe
PATCH 1/1 Makefile: fixed for-loop in install receipe
From: Joshua DeWeese <[email protected]>
The install receipe would have copied all the manpages to each of the section folders. This change will do what I believe the original author had intended.
Signed-off-by Joshua DeWeese <[email protected]>
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -23,7 +23,7 @@ install: all for m in $(MANPAGES); \ do \ install -d $(DESTDIR)$(mandir)/man$${m##*.}; \ - install -m 644 $(MANPAGES) $(DESTDIR)$(mandir)/man$${m##*.}; \ + install -m 644 "$$m" $(DESTDIR)$(mandir)/man$${m##*.}; \ done .PHONY: install all
Signature · 1 line
2.7.4