Add DESTDIR support (bug #200)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-25 17:27:53 +00:00
parent c6569f5177
commit b5bcecce5d
10 changed files with 81 additions and 74 deletions

View File

@@ -8,7 +8,7 @@ all: depend $(TARGET)
install:
if [ "$(TARGET)" != "none" ]; then \
for x in $(TARGET); do \
install -m 755 $$x $(ASTSBINDIR)/astman; \
install -m 755 $$x $(DESTDIR)$(ASTSBINDIR)/astman; \
done ; \
fi