aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEric <[email protected]>2012-09-12 16:16:59 -0500
committerEric <[email protected]>2012-09-12 16:16:59 -0500
commita1b7f0001e29faf7925bb2b13b56eeec190adddd (patch)
treec65cebeb9cb1565d22e092dec52424e2c7ceaba4 /Makefile
parent4505d4f1ed6a7ba0d390f262bdeee9c35bc5d7a4 (diff)
downloadrelx-a1b7f0001e29faf7925bb2b13b56eeec190adddd.tar.gz
relx-a1b7f0001e29faf7925bb2b13b56eeec190adddd.tar.bz2
relx-a1b7f0001e29faf7925bb2b13b56eeec190adddd.zip
support sphinx documentation in relcool
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