mirror of https://git.wownero.com/dsc/mxe.git
Makefile: add AUTOTOOLS_* template variables
This commit is contained in:
parent
56ca9cf8f5
commit
f217236aff
15
Makefile
15
Makefile
|
@ -196,6 +196,21 @@ define MXE_GET_GITHUB_TAGS
|
|||
| tail -1
|
||||
endef
|
||||
|
||||
define AUTOTOOLS_CONFIGURE
|
||||
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
|
||||
$(MXE_CONFIGURE_OPTS)
|
||||
endef
|
||||
|
||||
define AUTOTOOLS_MAKE
|
||||
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)
|
||||
$(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)
|
||||
endef
|
||||
|
||||
define AUTOTOOLS_BUILD
|
||||
$(AUTOTOOLS_CONFIGURE)
|
||||
$(AUTOTOOLS_MAKE)
|
||||
endef
|
||||
|
||||
# include github related functions
|
||||
include $(PWD)/github.mk
|
||||
|
||||
|
|
Loading…
Reference in New Issue