diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-07-10 20:15:39 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-07-10 20:15:39 +0000 |
commit | 4211d81576b0b8d0482abf609ddf2a89546f1817 (patch) | |
tree | 9c7106d4bbb228d57b6d589a9fb3e56ff9aea882 /Makefile | |
parent | 68c01fc56240dc25898e4b2b4f97b7ce6f8e758f (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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 \ |