stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r536898 - /incubator/stdcxx/trunk/etc/config/eccp.config
Date Thu, 10 May 2007 15:56:07 GMT
Author: sebor
Date: Thu May 10 08:56:06 2007
New Revision: 536898

URL: http://svn.apache.org/viewvc?view=rev&rev=536898
Log:
2007-05-10  Martin Sebor  <sebor@roguewave.com>

	STDCXX-409
	* eccp.config (BUILDDIR): Set to the CWD if not defined on the command
	line to avoid setting the template directory to a bogus directory.

Modified:
    incubator/stdcxx/trunk/etc/config/eccp.config

Modified: incubator/stdcxx/trunk/etc/config/eccp.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/eccp.config?view=diff&rev=536898&r1=536897&r2=536898
==============================================================================
--- incubator/stdcxx/trunk/etc/config/eccp.config (original)
+++ incubator/stdcxx/trunk/etc/config/eccp.config Thu May 10 08:56:06 2007
@@ -10,6 +10,11 @@
 ECCP_MAJOR     := $(shell echo "$(CCVER)" | sed -n "s/^\([^\.]*\).*/\1/p")
 ECCP_MINOR     := $(shell echo "$(CCVER)" | sed -n "s/^.*\.\([0-9]*\).*/\1/p")
 
+ifeq ($(BUILDDIR),)
+    # set to the CWD when not defined
+    BUILDDIR=$(shell pwd)/build
+endif
+
 ifeq ($(ECCP_MAJOR),2)
     CPPFLAGS        = -I$(TOPDIR)/include/ansi --incl_suffixes ::
     CXXFLAGS        = -A -B -x



Mime
View raw message