summaryrefslogtreecommitdiffstats
path: root/man/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile.in')
-rw-r--r--man/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
index 25a3882..387a599 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -73,7 +73,9 @@ clean:
install: all
@for obj in $(OBJS); do \
printf ' INSTALL man/%s\n' "$${obj}"; \
- $(INSTALL) -D "$${obj}" "$(DESTDIR)/$(mandir)/man$${obj##*.}/$${obj}"; \
+ mkdir -p '$(DESTDIR)/$(mandir)/man$${obj##*.}'; \
+ cp "$${obj}" "$(DESTDIR)/$(mandir)/man$${obj##*.}/$${obj}"; \
+ chmod 644 "$(DESTDIR)/$(mandir)/man$${obj##*.}/$${obj}"; \
done
uninstall: