diff options
author | Mark Spencer <markster@digium.com> | 2003-10-25 17:27:53 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-10-25 17:27:53 +0000 |
commit | b5bcecce5db423b74a1cbb712abff0df9e8a48a3 (patch) | |
tree | 3c59050efe9f1710252448db89719f9316e4af20 /agi/Makefile | |
parent | c6569f51778b186c685d0bfb1781fd20a3d00d83 (diff) |
Add DESTDIR support (bug #200)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'agi/Makefile')
-rwxr-xr-x | agi/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agi/Makefile b/agi/Makefile index 1257e6a78..ee12bc353 100755 --- a/agi/Makefile +++ b/agi/Makefile @@ -18,7 +18,8 @@ CFLAGS+= all: depend $(AGIS) install: all - for x in $(AGIS); do $(INSTALL) -m 755 $$x $(AGI_DIR) ; done + mkdir -p $(DESTDIR)$(AGI_DIR) + for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done eagi-test: eagi-test.o $(CC) -o eagi-test eagi-test.o |