summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-01-20 03:14:27 -0500
committerOri Bernstein <ori@eigenstate.org>2013-01-20 03:14:27 -0500
commite366247a59d8cda17e9a7cf6c651abc554fe3360 (patch)
tree02045f85c8e880a2e7f93ebbe48f0ed19a4132f3
parentdfdf8a2516f2b5eeb6c1500486d7edfe3818c839 (diff)
downloadmc-e366247a59d8cda17e9a7cf6c651abc554fe3360.tar.gz
Install all the things with the right permissions.
-rw-r--r--doc/Makefile2
-rw-r--r--mk/c.mk4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 070ebc7..b419bc6 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -7,7 +7,7 @@ include ../config.mk
all:
install:
- @echo install $(MAN) $(INST_ROOT)/share/man/man1; \
+ @echo install -m 644 $(MAN) $(INST_ROOT)/share/man/man1; \
mkdir -p $(INST_ROOT)/share/man/man1; \
install -m 644 $(MAN) $(INST_ROOT)/share/man/man1; \
diff --git a/mk/c.mk b/mk/c.mk
index bfbf4ce..a98a5c2 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -60,9 +60,9 @@ install-bin: $(INSTBIN)
install-lib: $(INSTLIB)
@if [ ! -z "$(INSTLIB)" ]; then \
- echo install $(INSTLIB) $(INST_ROOT)/lib; \
+ echo install -m 644 $(INSTLIB) $(INST_ROOT)/lib; \
mkdir -p $(INST_ROOT)/lib; \
- install $(INSTLIB) $(INST_ROOT)/lib; \
+ install -m 644 $(INSTLIB) $(INST_ROOT)/lib; \
fi
install-hdr: $(INSTHDR)