aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-17 03:43:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-17 03:43:37 +0000
commitf9f06a4c8aa8becf154cf8b46fad4fc4ceff0035 (patch)
tree0b8cb1792fdce892b1912fdade64b2c40ea20a8b /packages
parentd17bcb4613366a767b1e26cc678b03f21b46263a (diff)
in final assembly, remove executable perms from all sorts of doc and image files
svn path=/trunk/; revision=16413
Diffstat (limited to 'packages')
-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