diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-01-30 15:03:20 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-01-30 15:03:20 +0000 |
commit | a8282b50e1826df08d77e3989b637814415b5865 (patch) | |
tree | 03c27ab3cc019e3323dea0a3464f071a18fa1d18 /astman/Makefile | |
parent | 3e152dc0f17e3948a6d3945f203f62060f987c17 (diff) |
Version 0.3.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@593 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'astman/Makefile')
-rwxr-xr-x | astman/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/astman/Makefile b/astman/Makefile index f932ffb9f..106affcd8 100755 --- a/astman/Makefile +++ b/astman/Makefile @@ -1,15 +1,17 @@ -TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; fi) +TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi) all: $(TARGET) install: - mkdir -p /usr/sbin - if [ "$(TARGET)" != "" ]; then \ + if [ "$(TARGET)" != "none" ]; then \ for x in $(TARGET); do \ - install -m 755 $$x /usr/sbin/astman; \ + install -m 755 $$x $(ASTSBINDIR)/astman; \ done ; \ fi +none: + @echo Not building the Asterisk Manager "astman" + clean: rm -f *.o astman |