Skip to contentSkip to conversation

no need to install manpages as executable

PATCH In review Chris Wright 2 participants 2 messages Aug 11, 2016 Documentation

lore
Share & tools
lore
#1 lore raw
In reply to Chris Wright
Quoted 1 line · Chris Wright

No need to install manpages as executable. Noticed by Ville Skyttä.

Thanks. I agree there is no need but I wonder why we even need to specify that explicitly. Well, I guess I did not know that install(1) was that stupid.

#0 lore raw

PATCH 1/1 no need to install manpages as executable

No need to install manpages as executable. Noticed by Ville Skyttä.

---
Applies cleanly to maint and master.

 Documentation/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/Makefile +2 -2
index c00f5f6..d68bc4a 100644
@@ -56,8 +56,8 @@ man7: $(DOC_MAN7)
 
 install: man
 	$(INSTALL) -d -m755 $(DESTDIR)$(man1dir) $(DESTDIR)$(man7dir)
-	$(INSTALL) $(DOC_MAN1) $(DESTDIR)$(man1dir)
-	$(INSTALL) $(DOC_MAN7) $(DESTDIR)$(man7dir)
+	$(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
+	$(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)