From: Garrett C. <yab...@us...> - 2010-02-03 07:42:22
|
Update of /cvsroot/ltp/ltp/include/mk In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32380/include/mk Modified Files: config.mk.in Log Message: Get people to corral into proper make usage, just in case it wasn't 100% clear, so people avoid shooting themselves in the foot by accident. Signed-off-by: Garrett Cooper <yan...@gm...> Index: config.mk.in =================================================================== RCS file: /cvsroot/ltp/ltp/include/mk/config.mk.in,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** config.mk.in 23 Dec 2009 00:05:33 -0000 1.9 --- config.mk.in 3 Feb 2010 07:42:12 -0000 1.10 *************** *** 70,72 **** --- 70,76 ---- CXXFLAGS += $(DEBUG_CXXFLAGS) $(OPT_CXXFLAGS) $(WCXXFLAGS) + ifeq ($(strip $(prefix)),) + $(error you are using $$(prefix) incorrectly -- set it to $(abs_top_srcdir) if you want to build in the source tree) + endif + export datarootdir includedir libdir mandir prefix |