summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-11 21:44:55 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-11 21:44:55 +0000
commit959d0d74c347d0e1c1b7cffc33add4567fcb6490 (patch)
tree9bb796d93fb7dfd39ae15268d7cb72bfa99f21c6 /Makefile
parent53677479c3e017587f1ba17646d165d42cd92b90 (diff)
final attempt at making some simple logic work correctly
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1217 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b9c5ed6..a3b9b28 100644
--- a/Makefile
+++ b/Makefile
@@ -358,14 +358,16 @@ endif
install: all devices
if [ -f ztcfg ]; then \
- $(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg \
+ $(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 \
- $(INSTALL) -D -m 755 sethdlc $(INSTALL_PREFIX)/sbin/sethdlc ; \
+ $(INSTALL) -D -m 755 sethdlc $(INSTALL_PREFIX)/sbin/sethdlc; \
+ fi
+ if [ -f zttool ]; then \
+ $(INSTALL) -D -m 755 zttool $(INSTALL_PREFIX)/sbin/zttool; \
fi
- if [ -f zttool ]; then $(INSTALL) -D -m 755 zttool $(INSTALL_PREFIX)/sbin/zttool; fi
ifeq ($(BUILDVER),linux26)
for x in $(MODULESKO); do \
rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/extra/$$x ; \