Commits

dizzyd  committed c7c59c2

Get docs, reldocs and dialyzer targets working again

  • Participants
  • Parent commits 41983dc

Comments (0)

Files changed (1)

 	./rebar eunit
 
 rel:
-	./rebar generate force=1 dump_spec=1
+	./rebar compile generate force=1 dump_spec=1
 	cp -R rel/overlay/* rel/riak
 
 devrel: rel
 devclean: clean
 	rm -rf rel/riak*
 
-# docs:
-# 	@erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
-# 	@cp -r doc/* www/edoc
-# 	@cp README www/
-# 	@cp LICENSE www/
-# 	@cp TODO www/
+docs:
+	@erl -noshell -run edoc_run application riak '"apps/riak"' '[]' 
+	@cp -r doc/* www/edoc
+	@cp README www/
+	@cp LICENSE www/
+	@cp TODO www/
 
-# reldocs: docs
-# 	@cd client_lib/java && make javadoc && \
-# 		cp -r javadoc/* ../../www/java_client_api
+reldocs: docs
+	@mkdir -p www/java_client_api
+	@cd client_lib/java && make javadoc && \
+            cp -R javadoc/* ../../www/java_client_api
 
 
+dialyzer: compile
+	@dialyzer -Wno_return -c apps/riak/ebin
 
-# dialyzer: compile
-# 	@dialyzer -Wno_return -c ebin/ | tee priv/log/dialyzer.log
 
-