[zaptel-commits] tzafrir: branch tzafrir/zaphelper r1628 - /team/tzafrir/zaphelper/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue Nov 21 11:44:02 MST 2006


Author: tzafrir
Date: Tue Nov 21 12:44:02 2006
New Revision: 1628

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1628
Log:
Install the zaptel-helper script.

Modified:
    team/tzafrir/zaphelper/Makefile

Modified: team/tzafrir/zaphelper/Makefile
URL: http://svn.digium.com/view/zaptel/team/tzafrir/zaphelper/Makefile?view=diff&rev=1628&r1=1627&r2=1628
==============================================================================
--- team/tzafrir/zaphelper/Makefile (original)
+++ team/tzafrir/zaphelper/Makefile Tue Nov 21 12:44:02 2006
@@ -359,17 +359,19 @@
 endif
 
 install: all devices firmware install-libs install-include
+	install -d $(INSTALL_PREFIX)/sbin
 	if [ -f ztcfg ]; then \
-		$(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg; \
+		$(INSTALL) ztcfg $(INSTALL_PREFIX)/sbin/; \
 	fi
 	if [ -f sethdlc-new ]; then \
-		$(INSTALL) -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \
+		$(INSTALL) sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \
 	elif [ -f sethdlc ]; then \
-		$(INSTALL) -D -m 755 sethdlc $(INSTALL_PREFIX)/sbin/sethdlc; \
+		$(INSTALL) sethdlc $(INSTALL_PREFIX)/sbin/; \
 	fi
 	if [ -f zttool ]; then \
-		$(INSTALL) -D -m 755 zttool $(INSTALL_PREFIX)/sbin/zttool; \
-	fi
+		$(INSTALL) zttool $(INSTALL_PREFIX)/sbin/; \
+	fi
+	install zaptel $(INSTALL_PREFIX)/sbin/
 ifeq ($(BUILDVER),linux26)
 	for x in $(MODULESKO); do \
 		rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/extra/$$x ; \



More information about the zaptel-commits mailing list