Mercurial > mxe-octave
comparison src/build-pkg-config.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 | 4f9b72cf7ee7 |
children | b6c7244a2f66 |
comparison
equal
deleted
inserted
replaced
3011:75e142c0004b | 3012:100e618349f7 |
---|---|
17 define $(PKG)_BUILD | 17 define $(PKG)_BUILD |
18 mkdir '$(1).build' | 18 mkdir '$(1).build' |
19 cd '$(1).build' && '$(1)/configure' \ | 19 cd '$(1).build' && '$(1)/configure' \ |
20 --with-internal-glib \ | 20 --with-internal-glib \ |
21 --with-pc-path='$(MXE_LIBDIR)/pkgconfig' \ | 21 --with-pc-path='$(MXE_LIBDIR)/pkgconfig' \ |
22 --prefix='$(PREFIX)' | 22 --prefix='$(BUILD_TOOLS_PREFIX)' |
23 $(MAKE) -C '$(1).build' -j '$(JOBS)' | 23 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
24 rm -f "$(PREFIX)/bin/`config.guess`-pkg-config" | 24 rm -f "$(BUILD_TOOLS_PREFIX)/bin/`config.guess`-pkg-config" |
25 $(MAKE) -C '$(1).build' -j 1 install | 25 $(MAKE) -C '$(1).build' -j 1 install |
26 endef | 26 endef |