[svn-commits] trunk r1213 - /trunk/Makefile

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jul 10 13:15:40 MST 2006


Author: kpfleming
Date: Mon Jul 10 15:15:39 2006
New Revision: 1213

URL: http://svn.digium.com/view/zaptel?rev=1213&view=rev
Log:
don't try to install ztcfg if it wasn't built

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/Makefile?rev=1213&r1=1212&r2=1213&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Mon Jul 10 15:15:39 2006
@@ -357,7 +357,9 @@
 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 \



More information about the svn-commits mailing list