Linux SPARSE checker discussions
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: linux-sparse@vger.kernel.org
Subject: [patch] fix install perms of manpages
Date: Mon, 17 Sep 2007 15:30:18 -0400	[thread overview]
Message-ID: <200709171530.18669.vapier@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

the install step for manpages currently does not use the -m option which means
perms default to 755 which makes no sense for man pages

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
diff --git a/Makefile b/Makefile
index 2475e12..bd5fb96 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ install: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc
 		$(QUIET_INST_SH)install -v $$f $(DESTDIR)$(BINDIR)/$$f || exit 1; \
 	done
 	$(Q)for f in $(INST_MAN1); do \
-		$(QUIET_INST_SH)install -v $$f $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \
+		$(QUIET_INST_SH)install -m 644 -v $$f $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \
 	done
 	$(Q)for f in $(LIBS); do \
 		$(QUIET_INST_SH)install -m 644 -v $$f $(DESTDIR)$(LIBDIR)/$$f || exit 1; \

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

             reply	other threads:[~2007-09-17 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17 19:30 Mike Frysinger [this message]
2007-09-19 20:49 ` [patch] fix install perms of manpages Josh Triplett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709171530.18669.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox