Mercurial > mxe-octave
comparison src/qrupdate.mk @ 3013:bcc26ffe9a0f
use variable for --host and --build configure arguments
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 12:40:32 -0400 |
parents | 100e618349f7 |
children | ec6f91539788 |
comparison
equal
deleted
inserted
replaced
3012:100e618349f7 | 3013:bcc26ffe9a0f |
---|---|
18 mkdir '$(1)/.build' | 18 mkdir '$(1)/.build' |
19 touch '$(1)/NEWS' '$(1)/AUTHORS' | 19 touch '$(1)/NEWS' '$(1)/AUTHORS' |
20 cd '$(1)' && autoreconf -W none | 20 cd '$(1)' && autoreconf -W none |
21 chmod a+rx '$(1)/configure' | 21 chmod a+rx '$(1)/configure' |
22 cd '$(1)/.build' && '$(1)/configure' \ | 22 cd '$(1)/.build' && '$(1)/configure' \ |
23 --host='$(TARGET)' \ | 23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
24 --build="`config.guess`" \ | |
25 --prefix='$(HOST_PREFIX)' | 24 --prefix='$(HOST_PREFIX)' |
26 | 25 |
27 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install | 26 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install |
28 endef | 27 endef |