mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user