aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-25 17:27:53 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-25 17:27:53 +0000
commit54aafb9953a22fe6f2831a67a6ab368d897c3931 (patch)
tree3c59050efe9f1710252448db89719f9316e4af20 /apps/Makefile
parent326a85e10f52280b2facbb2936bed81a60ee2e9f (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 'apps/Makefile')
-rwxr-xr-xapps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index b2ed7b473..be910601f 100755
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -50,7 +50,7 @@ app_rpt.so : app_rpt.o
$(CC) -shared -Xlinker -x -o $@ $< -ltonezone
install: all
- for x in $(APPS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
+ for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
app_todd.o: app_todd.c
gcc -pipe -O6 -g -Iinclude -I../include -D_REENTRANT -march=i586 -DDO_CRASH -c -o app_todd.o app_todd.c