diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-10-25 17:27:53 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-10-25 17:27:53 +0000 |
commit | 54aafb9953a22fe6f2831a67a6ab368d897c3931 (patch) | |
tree | 3c59050efe9f1710252448db89719f9316e4af20 /agi/Makefile | |
parent | 326a85e10f52280b2facbb2936bed81a60ee2e9f (diff) |
Add DESTDIR support (bug #200)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1664 f38db490-d61c-443f-a65b-d21fe96a405b
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 |