From f40a036d979e65723a0e5caeda95ff1176ae6426 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 13 Feb 2024 13:04:32 +0100 Subject: [PATCH] Makefile: Express rebar3 profile using "as profile" This allows to use REBAR_PROFILE to add another profile. Right now it doesn't seem specially useful, but it's possible: REBAR_PROFILE=dev make prod REBAR_PROFILE=translations make dev https://rebar3.org/docs/configuration/profiles/ --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index c287cbbd9..d73a774a9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -160,7 +160,7 @@ endif XREFOPTIONS= CLEANARG=--all REBARREL=$(REBAR) as prod tar - REBARDEV=REBAR_PROFILE=dev $(REBAR) release + REBARDEV=$(REBAR) as dev release RELIVECMD=$(REBAR) relive REL_LIB_DIR = _build/dev/rel/ejabberd/lib COPY_REL_TARGET = dev