summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-03-11 20:37:46 +0000
committerArthur de Jong <arthur@arthurdejong.org>2011-03-11 20:37:46 +0000
commitbfc6e33237ce8470c343d8b6d3761be6af5733c4 (patch)
tree3b7cd267fa20ef7d57f29c7bc5d06883fb80676b /Makefile.am
parent09c01fe918a1966e0255ea55eb8c7fd09701d74d (diff)
ensure that permissions are sane in the distributed tarball
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1389 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f613cc2..3711939 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,6 +87,10 @@ install-nslcd_conf:
uninstall-nslcd_conf:
-rm -f $(DESTDIR)$(NSLCD_CONF_PATH)
+# fix permissions before distributing
+dist-hook:
+ chmod -R a+rX $(distdir)
+
# target for easily creating a Debian package
# the find is an ugly hack to fix a bug if being built on an nfs filesystem
deb: distdir