aboutsummaryrefslogtreecommitdiffstats
path: root/astman/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-26 19:25:39 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-26 19:25:39 +0000
commitfd7f41a13f5d9a51aa29cefe068a82c3d21301bf (patch)
treee7221778de18d4e6ac65efbc8d9bcbd45e170be0 /astman/Makefile
parent7d75ac27079c04de4d13a8d8b87ed41090f7ff44 (diff)
Fix astman build (bug #1930)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3321 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'astman/Makefile')
-rwxr-xr-xastman/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/astman/Makefile b/astman/Makefile
index d3bf6ea87..8a69ee0c8 100755
--- a/astman/Makefile
+++ b/astman/Makefile
@@ -8,8 +8,7 @@ ifeq ($(findstring BSD,${OSARCH}),BSD)
CFLAGS+=-I/usr/local/include -L/usr/local/lib
endif
-TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
-TARGET=$(shell if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
+TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi ; fi)
all: depend $(TARGET)
install: