aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/Makefile b/packages/Makefile
index 87029718..59225ac0 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -357,6 +357,12 @@ endif
#----------------------------------------------------------------------------
# clean up the documentation before packaging
doc_format:
+# fix perms
+ -find $(DESTDIR) -name '*.txt' -print0 | xargs -0 chmod a-x
+ -find $(DESTDIR) -name '*.png' -print0 | xargs -0 chmod a-x
+ -find $(DESTDIR) -name '*.gif' -print0 | xargs -0 chmod a-x
+ -find $(DESTDIR) -name '*.pdf' -print0 | xargs -0 chmod a-x
+ -find $(DESTDIR) -name '*.html' -print0 | xargs -0 chmod a-x
# clean out cruft files
-find $(DESTDIR) -name .DS_Store -delete
-find $(DESTDIR) -name '*.*.bak' -delete