summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-04 12:02:57 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-04 12:02:57 +0000
commit58203ef0eda5f512dfe95aed2433ffe3d7ac59c7 (patch)
treef2286c01c65cbe4912b7699d4e03e88f3ac096b0
parentb83a9d881333255c1539b3f392dc344efa32d674 (diff)
downloadmandoc-58203ef0eda5f512dfe95aed2433ffe3d7ac59c7.tar.gz
Install sources with mode 0644. Noted by Jack Nagel. Ok schwarze@.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index be6e5682..2b64e64c 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -m 0755
INSTALL_DATA = $(INSTALL) -m 0444
INSTALL_LIB = $(INSTALL) -m 0644
+INSTALL_SOURCE = $(INSTALL) -m 0644
INSTALL_MAN = $(INSTALL_DATA)
all: mandoc preconv
@@ -369,7 +370,7 @@ mdocml.md5: mdocml.tar.gz
mdocml.tar.gz: $(SRCS)
mkdir -p .dist/mdocml-$(VERSION)/
- $(INSTALL) -m 0444 $(SRCS) .dist/mdocml-$(VERSION)
+ $(INSTALL_SOURCE) $(SRCS) .dist/mdocml-$(VERSION)
( cd .dist/ && tar zcf ../$@ ./ )
rm -rf .dist/