[zaptel-commits] tzafrir: branch 1.4 r3220 - /branches/1.4/Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Nov 7 14:18:28 CST 2007


Author: tzafrir
Date: Wed Nov  7 14:18:28 2007
New Revision: 3220

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3220
Log:
Don't try to generate bindir and mandir if there are no binaries to 
install (this causes an invalid install command).

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile?view=diff&rev=3220&r1=3219&r2=3220
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Wed Nov  7 14:18:28 2007
@@ -447,10 +447,12 @@
 install-programs: install-utils install-libs install-include
 
 install-utils: utils install-xpp
+ifneq (,$(BINS))
 	install -d $(DESTDIR)$(BIN_DIR)
 	install  $(BINS) $(DESTDIR)$(BIN_DIR)/
 	install -d $(DESTDIR)$(MAN_DIR)
 	install -m 644 $(MAN_PAGES) $(DESTDIR)$(MAN_DIR)/
+endif
 ifeq (,$(wildcard $(DESTDIR)$(CONFIG_FILE)))
 	$(INSTALL) -D -m 644 zaptel.conf.sample $(DESTDIR)$(CONFIG_FILE)
 endif




More information about the zaptel-commits mailing list