summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-10 20:15:39 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-10 20:15:39 +0000
commit4211d81576b0b8d0482abf609ddf2a89546f1817 (patch)
tree9c7106d4bbb228d57b6d589a9fb3e56ff9aea882 /Makefile
parent68c01fc56240dc25898e4b2b4f97b7ce6f8e758f (diff)
don't try to install ztcfg if it wasn't built
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1213 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 86938f3..4cf6359 100644
--- a/Makefile
+++ b/Makefile
@@ -357,7 +357,9 @@ else # DYNFS
endif
install: all devices
- $(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg
+ if [ -f ztcfg ]; then \
+ $(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg
+ fi
if [ -f sethdlc-new ]; then \
$(INSTALL) -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \
elif [ -f sethdlc ]; then \