[beast: 201/210] DOCS: ensure installed html/ files are user writable



commit dba1ce14f57db4df3ebbc21810e891d884b2476c
Author: Tim Janik <timj gnu org>
Date:   Wed Jul 3 01:28:39 2013 +0200

    DOCS: ensure installed html/ files are user writable

 docs/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index d2d139d..d1ceccd 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -24,6 +24,8 @@ htmldocs_DATA = html/doc-version              # build dependency for doxygen docs
 htmlparent    = $(if $(findstring \#,   \ INGIT@..), $(srcdir), $(builddir))
 install-data-hook: @INGIT@ $(htmldocs_DATA)
        umask 022 && cp -RP $(htmlparent)/html/ "$(DESTDIR)$(htmldocsbase)/"
+       chmod -R u+w "$(DESTDIR)$(htmldocsbase)/"
+# u+w is needed for uninstall (distcheck enforces read-only srcdir contents)
 uninstall-local:
        rm -Rf "$(DESTDIR)$(htmldocsbase)/html/"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]