summaryrefslogtreecommitdiff
path: root/agi
diff options
context:
space:
mode:
authorPaul Belanger <paul.belanger@polybeacon.com>2010-07-23 13:26:41 +0000
committerPaul Belanger <paul.belanger@polybeacon.com>2010-07-23 13:26:41 +0000
commit7d96f2d01e1b00037c0574667866937b08572856 (patch)
tree4ce0f3c8496352c09b3f8fd1e715874b0110e45a /agi
parent8b3c00a824d82e375223430c2c7cd8190c31c963 (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: https://origsvn.digium.com/svn/asterisk/trunk@278873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'agi')
-rw-r--r--agi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/agi/Makefile b/agi/Makefile
index 591155dd1..9be10001c 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -40,7 +40,7 @@ eagi-test: eagi-test.o strcompat.o
eagi-sphinx-test: eagi-sphinx-test.o
install: all
- mkdir -p $(DESTDIR)$(AGI_DIR)
+ $(INSTALL) -d $(DESTDIR)$(AGI_DIR)
for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
uninstall: