summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)