diff src/build-autoconf.mk @ 3012:100e618349f7

Improve handling of prefix directories by defining HOST_PREFIX and BUILD_TOOLS_PREFIX variables in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 10:31:04 -0400
parents 7145a94e4f4e
children ff92c0dc6aeb
line wrap: on
line diff
--- a/src/build-autoconf.mk	Sat Jun 01 20:52:09 2013 -0400
+++ b/src/build-autoconf.mk	Sun Jun 02 10:31:04 2013 -0400
@@ -17,7 +17,7 @@
 define $(PKG)_BUILD
     mkdir '$(1).build'
     cd    '$(1).build' && '$(1)/configure' \
-        --prefix='$(PREFIX)'
+        --prefix='$(BUILD_TOOLS_PREFIX)'
     $(MAKE) -C '$(1).build' -j '$(JOBS)'
     $(MAKE) -C '$(1).build' -j 1 install
 endef