diff options
author | Loïc Hoguin <[email protected]> | 2023-05-05 16:14:23 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-05-05 16:16:31 +0200 |
commit | ec5d5db8feb8c797ddaaf5e4d1afbae31eda461e (patch) | |
tree | acc4228046f0f348b1941723d72d058656ee58f8 /core | |
parent | 2f5e90da5156a54275f30b6b4a4051774adea3da (diff) | |
download | erlang.mk-ec5d5db8feb8c797ddaaf5e4d1afbae31eda461e.tar.gz erlang.mk-ec5d5db8feb8c797ddaaf5e4d1afbae31eda461e.tar.bz2 erlang.mk-ec5d5db8feb8c797ddaaf5e4d1afbae31eda461e.zip |
Deps: Add a project-specific patch for hut
Hut has both a Makefile and erlang.mk but the default target
does not build the project. To fix a few packages we have a
special patch HUT_PATCH that will call the appropriate target.
Diffstat (limited to 'core')
-rw-r--r-- | core/deps.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk index d07bb0c..6741580 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -206,6 +206,9 @@ ifneq ($(ALL_DEPS_DIRS),) echo $$dep >> $(ERLANG_MK_TMP)/deps.log; \ if [ -z "$(strip $(FULL))" ] $(if $(force_rebuild_dep),&& ! ($(call force_rebuild_dep,$$dep)),) && [ ! -L $$dep ] && [ -f $$dep/ebin/dep_built ]; then \ :; \ + elif [ "$$dep" = "$(DEPS_DIR)/hut" -a "$(HUT_PATCH)" ]; then \ + $(MAKE) -C $$dep app IS_DEP=1; \ + if [ ! -L $$dep ] && [ -d $$dep/ebin ]; then touch $$dep/ebin/dep_built; fi; \ elif [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ]; then \ $(MAKE) -C $$dep IS_DEP=1; \ if [ ! -L $$dep ] && [ -d $$dep/ebin ]; then touch $$dep/ebin/dep_built; fi; \ |