[zaptel-commits] qwell: branch 1.4 r2988 - /branches/1.4/Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Aug 31 10:56:18 CDT 2007


Author: qwell
Date: Fri Aug 31 10:56:18 2007
New Revision: 2988

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2988
Log:
CONFIG_FILE already has DESTDIR prepend to it.
It is not needed here.

Issue 10619, patch by djflux

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile?view=diff&rev=2988&r1=2987&r2=2988
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Fri Aug 31 10:56:18 2007
@@ -454,8 +454,8 @@
 	install  $(BINS) $(DESTDIR)$(BIN_DIR)/
 	install -d $(DESTDIR)$(MAN_DIR)
 	install -m 644 $(MAN_PAGES) $(DESTDIR)$(MAN_DIR)/
-ifeq (,$(wildcard $(DESTDIR)$(CONFIG_FILE)))
-	$(INSTALL) -D -m 644 zaptel.conf.sample $(DESTDIR)$(CONFIG_FILE)
+ifeq (,$(wildcard $(CONFIG_FILE)))
+	$(INSTALL) -D -m 644 zaptel.conf.sample $(CONFIG_FILE)
 endif
 
 # Pushing those two to a separate target that is not used by default:




More information about the zaptel-commits mailing list