diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-13 19:01:27 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> | 2015-10-20 11:10:48 +0200 |
| commit | 8dd4eb8f5fb42a3c441852a2af30a3b0e657d5a8 (patch) | |
| tree | c0b862e2dddaad34248f1c1e9e4978dfd36653c0 /Makefile | |
| parent | d1fce2e9ab033221fbb31a893a57ae38b475dd21 (diff) | |
| download | rabbitmq-server-git-8dd4eb8f5fb42a3c441852a2af30a3b0e657d5a8.tar.gz | |
Makefile: Sort content a bit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
@@ -7,14 +7,6 @@ dep_rabbitmq_common= git file:///home/dumbbell/Projects/pivotal/other-repos/rabb include erlang.mk -ebin/$(PROJECT).app:: $(USAGES_ERL) - $(if $(strip $?),$(call compile_erl,$?)) - -clean:: clean-generated - -clean-generated: - $(gen_verbose) rm -f $(USAGES_ERL) - COMPILE_FIRST = $(basename \ $(notdir \ $(shell grep -lw '^behaviour_info' src/*.erl))) @@ -31,10 +23,6 @@ ifdef CREDIT_FLOW_TRACING ERLC_OPTS += -DCREDIT_FLOW_TRACING=true endif -define boolean_macro -$(if $(filter true,$(1)),-D$(2)) -endef - # Our type specs rely on dict:dict/0 etc, which are only available in # 17.0 upwards. define compare_version @@ -63,11 +51,18 @@ ifndef USE_PROPER_QC # PropEr needs to be installed for property checking # http://proper.softlab.ntua.gr/ USE_PROPER_QC = $(shell $(ERL) -eval 'io:format({module, proper} =:= code:ensure_loaded(proper)), halt().') -ERLC_OPTS += $(call boolean_macro,$(USE_PROPER_QC),use_proper_qc) +ERLC_OPTS += $(if $(filter true,$(USE_PROPER_QC)),-Duse_proper_qc) endif +ebin/$(PROJECT).app:: $(USAGES_ERL) + +clean:: clean-generated + +clean-generated: + $(gen_verbose) rm -f $(USAGES_ERL) + # -------------------------------------------------------------------- -# Man pages. +# Documentation. # -------------------------------------------------------------------- DOCS_DIR = docs |
