Mercurial > mxe-octave
comparison src/agg.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 | 47558e958113 |
children | bcc26ffe9a0f |
comparison
equal
deleted
inserted
replaced
3011:75e142c0004b | 3012:100e618349f7 |
---|---|
14 $(SED) -n 's,.*<A href="http://www.antigrain.com/agg-\([0-9.]*\).tar.gz".*,\1,p' | \ | 14 $(SED) -n 's,.*<A href="http://www.antigrain.com/agg-\([0-9.]*\).tar.gz".*,\1,p' | \ |
15 head -1 | 15 head -1 |
16 endef | 16 endef |
17 | 17 |
18 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
19 $(SED) -i 's,aclocal,aclocal -I $(PREFIX)/$(TARGET)/share/aclocal,' '$(1)/autogen.sh' | 19 $(SED) -i 's,aclocal,aclocal -I $(HOST_PREFIX)/share/aclocal,' '$(1)/autogen.sh' |
20 $(SED) -i 's,libtoolize,$(LIBTOOLIZE),' '$(1)/autogen.sh' | 20 $(SED) -i 's,libtoolize,$(LIBTOOLIZE),' '$(1)/autogen.sh' |
21 cd '$(1)' && $(SHELL) ./autogen.sh \ | 21 cd '$(1)' && $(SHELL) ./autogen.sh \ |
22 --host='$(TARGET)' \ | 22 --host='$(TARGET)' \ |
23 --build="`config.guess`" \ | 23 --build="`config.guess`" \ |
24 $(ENABLE_SHARED_OR_STATIC) \ | 24 $(ENABLE_SHARED_OR_STATIC) \ |
25 --prefix='$(PREFIX)/$(TARGET)' \ | 25 --prefix='$(HOST_PREFIX)' \ |
26 --without-x | 26 --without-x |
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 27 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
28 endef | 28 endef |