From 63ff35280893f84fca60ea5944659edadb21334f Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Thu, 30 Jan 2003 15:03:20 +0000 Subject: Version 0.3.0 from FTP git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@593 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- astman/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'astman') 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