Mercurial > mxe-octave
comparison src/build-gettext.mk @ 5881:c30da1cd5e3b release
* build-gettext.mk: as with gettext, only build runtime and tools.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 07 Sep 2021 15:33:58 -0400 |
parents | 5d627682a6b2 |
children | f08c7cbb8df1 5d6c81bb0237 |
comparison
equal
deleted
inserted
replaced
5880:5d627682a6b2 | 5881:c30da1cd5e3b |
---|---|
16 $(SORT) -V | \ | 16 $(SORT) -V | \ |
17 tail -1 | 17 tail -1 |
18 endef | 18 endef |
19 | 19 |
20 define $(PKG)_BUILD | 20 define $(PKG)_BUILD |
21 mkdir '$(1).build' | 21 mkdir '$(1)/gettext-runtime/.build' |
22 cd '$(1).build' && '$(1)/configure' \ | 22 cd '$(1)/gettext-runtime/.build' && '$(1)/gettext-runtime/configure' \ |
23 --prefix='$(BUILD_TOOLS_PREFIX)' \ | 23 --prefix='$(BUILD_TOOLS_PREFIX)' \ |
24 --without-libexpat-prefix \ | 24 --without-libexpat-prefix \ |
25 --without-libxml2-prefix \ | 25 --without-libxml2-prefix \ |
26 $($(PKG)_CONFIGURE_OPTIONS) | 26 $($(PKG)_CONFIGURE_OPTIONS) |
27 $(MAKE) -C '$(1).build' -j '$(JOBS)' | 27 $(MAKE) -C '$(1)/gettext-runtime/.build/intl' -j $(JOBS) |
28 if test x$(MXE_SYSTEM) = xmsvc; then \ | 28 if test x$(MXE_SYSTEM) = xmsvc; then \ |
29 cd '$(1).build' && $(CONFIGURE_POST_HOOK); \ | 29 cd '$(1)/gettext-runtime/.build/intl' && $(CONFIGURE_POST_HOOK); \ |
30 fi | 30 fi |
31 $(MAKE) -C '$(1).build' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' | 31 $(MAKE) -C '$(1)/gettext-runtime/.build/intl' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' |
32 | |
33 mkdir '$(1)/gettext-tools/.build' | |
34 cd '$(1)/gettext-tools/.build' && '$(1)/gettext-tools/configure' \ | |
35 --prefix='$(BUILD_TOOLS_PREFIX)' \ | |
36 --without-libexpat-prefix \ | |
37 --without-libxml2-prefix \ | |
38 $($(PKG)_CONFIGURE_OPTIONS) | |
39 $(MAKE) -C '$(1)/gettext-tools/.build/intl' -j $(JOBS) | |
40 if test x$(MXE_SYSTEM) = xmsvc; then \ | |
41 cd '$(1)/gettext-tools/.build/intl' && $(CONFIGURE_POST_HOOK); \ | |
42 fi | |
43 $(MAKE) -C '$(1)/gettext-tools/.build/intl' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' | |
32 endef | 44 endef |