aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ef6fbe5..b16560d 100644
--- a/Makefile
+++ b/Makefile
@@ -35,13 +35,23 @@ ifeq ($(REBAR),)
$(error "Rebar not available on this system")
endif
-# =============================================================================
-# Rules to build the system
-# =============================================================================
.PHONY: all compile doc clean test dialyzer typer shell distclean pdf get-deps escript
all: compile escript test dialyzer
+# =============================================================================
+# Include relevant sub-makefiles.
+# =============================================================================
+# These are not subdirs, they are just additional makefile information
+# that happens to live subdirectories
+
+include $(CURDIR)/docs/docs.mkf
+
+
+# =============================================================================
+# Rules to build the system
+# =============================================================================
+
get-deps:
$(REBAR) get-deps
$(REBAR) compile