From a8282b50e1826df08d77e3989b637814415b5865 Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 30 Jan 2003 15:03:20 +0000 Subject: Version 0.3.0 from FTP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@593 f38db490-d61c-443f-a65b-d21fe96a405b --- astman/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'astman/Makefile') 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 -- cgit v1.2.3