aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-23 13:26:41 +0000
committerpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-23 13:26:41 +0000
commitdf45872b54d67bc50f8303d1e69367e32ae37dee (patch)
tree4ce0f3c8496352c09b3f8fd1e715874b0110e45a /sounds
parentb6e521bf768748cef06ff11f59601e6edbd35227 (diff)
Portability updates for Makefiles.
When possible, use $(INSTALL). This allows us to use the functionality within install for setting directory / file permissions, a requirement for unprivileged installation. Also move any directory we plan to create within the installdirs macro. Plus various other formatting issues. (issue #17436) Reported by: pabelanger Patches: non-root.patch.v8 uploaded by pabelanger (license 224) Tested by: pabelanger Review: https://reviewboard.asterisk.org/r/654/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278873 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 087eb9620..b5e14b1bc 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -169,7 +169,7 @@ dist-clean:
rm -f *.tar.gz
$(SOUNDS_DIR)/en $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(SOUNDS_CACHE_DIR):
- mkdir -p $@
+ $(INSTALL) -d $@
install: ${SOUNDS_CACHE_DIR} $(SOUNDS_DIR)/en $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(MOH_DIR) $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)