mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Makefile: Rename "make rel" to "make prod"
Rebar2 could create a release, so it made sense to call it "make rel". Nowadays, Rebar3 and Mix support creating different types of releases: production, development, ... In this sense, our "make rel" target is more properly named "make prod" For backwards compatibility, "make rel" redirects to "make prod"
This commit is contained in:
parent
aad3306bdf
commit
eeb4be6e4b
@ -438,7 +438,9 @@ distclean: clean clean-rel
|
|||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
rm -f vars.config
|
rm -f vars.config
|
||||||
|
|
||||||
rel:
|
rel: prod
|
||||||
|
|
||||||
|
prod:
|
||||||
$(PREPARE_ELIXIR_SCRIPTS)
|
$(PREPARE_ELIXIR_SCRIPTS)
|
||||||
$(REBARREL)
|
$(REBARREL)
|
||||||
|
|
||||||
@ -506,7 +508,7 @@ test:
|
|||||||
@cd priv && ln -sf ../sql
|
@cd priv && ln -sf ../sql
|
||||||
$(REBAR) $(SKIPDEPS) ct
|
$(REBAR) $(SKIPDEPS) ct
|
||||||
|
|
||||||
.PHONY: src edoc dialyzer Makefile TAGS clean clean-rel distclean rel \
|
.PHONY: src edoc dialyzer Makefile TAGS clean clean-rel distclean prod rel \
|
||||||
install uninstall uninstall-binary uninstall-all translations deps test \
|
install uninstall uninstall-binary uninstall-all translations deps test \
|
||||||
quicktest erlang_plt deps_plt ejabberd_plt xref hooks options
|
quicktest erlang_plt deps_plt ejabberd_plt xref hooks options
|
||||||
|
|
||||||
@ -524,7 +526,7 @@ help:
|
|||||||
@echo " uninstall Uninstall ejabberd (buggy)"
|
@echo " uninstall Uninstall ejabberd (buggy)"
|
||||||
@echo " uninstall-all Uninstall also configuration, logs, mnesia... (buggy)"
|
@echo " uninstall-all Uninstall also configuration, logs, mnesia... (buggy)"
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo " rel Build a production release"
|
@echo " prod Build a production release"
|
||||||
@echo " dev Build a development release"
|
@echo " dev Build a development release"
|
||||||
@echo " relive Start a live ejabberd in _build/relive/"
|
@echo " relive Start a live ejabberd in _build/relive/"
|
||||||
@echo ""
|
@echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user