From 28cbe25bf34d75b2e58dbc7618c85b28a213ec54 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Thu, 28 Jul 2016 18:00:52 -0400 Subject: [PATCH] tarball/Makefile: Setting permissions of DOCDIR --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index df9ecc3..e9e09b1 100644 --- a/Makefile +++ b/Makefile @@ -670,6 +670,8 @@ endif mkdir -p $(SAMPLESDIR) $(call cpr,samples,$(SAMPLESDIR)) find $(SAMPLESDIR) -type d -exec chmod 777 {} \; + find $(DOCDIR) -type d -exec chmod 755 {} \; + find $(DOCDIR) -type f -exec chmod 644 {} \; mkdir -p $(EXTRASDIR) $(call cpr,extras,$(EXTRASDIR)) endif @@ -744,6 +746,8 @@ endif mkdir -p $(SAMPLESDIR) cp -pRf samples/* $(SAMPLESDIR) find $(SAMPLESDIR) -type d -exec chmod 777 {} \; + find $(DOCDIR) -type d -exec chmod 755 {} \; + find $(DOCDIR) -type f -exec chmod 644 {} \; mkdir -p $(EXTRASDIR) cp $(CPFLAGS) extras/* $(EXTRASDIR) ifdef DEBIAN_PACKAGE -- 1.8.3.1