From 427230d6f94f5b8a396fd504a73d73d1d65ab0a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 12 May 2015 12:50:06 +0300 Subject: Update erlang.mk --- Makefile | 38 ++++++-------------------------------- 1 file changed, 6 insertions(+), 32 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8a806cc..4ee915a 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ PROJECT = gun CT_OPTS += -pa test -ct_hooks gun_ct_hook [] -boot start_sasl PLT_APPS = ssl +CI_OTP = OTP-17.0.2 OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.3 + +CT_SUITES = twitter # Dependencies. @@ -19,36 +22,7 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master include erlang.mk -# AsciiDoc. - -.PHONY: asciidoc asciidoc-guide asciidoc-manual clean-asciidoc - -MAN_INSTALL_PATH ?= /usr/local/share/man -MAN_SECTIONS ?= 3 7 - -asciidoc: clean-asciidoc asciidoc-guide asciidoc-manual - -asciidoc-guide: - a2x -v -f pdf doc/src/guide/book.asciidoc && mv doc/src/guide/book.pdf doc/guide.pdf - a2x -v -f chunked doc/src/guide/book.asciidoc && mv doc/src/guide/book.chunked/ doc/html/ - -asciidoc-manual: - for f in doc/src/manual/*.asciidoc ; do \ - a2x -v -f manpage $$f ; \ - done - for s in $(MAN_SECTIONS); do \ - mkdir -p doc/man$$s/ ; \ - mv doc/src/manual/*.$$s doc/man$$s/ ; \ - gzip doc/man$$s/*.$$s ; \ - done - -clean:: clean-asciidoc - -clean-asciidoc: - $(gen_verbose) rm -rf doc/html/ doc/guide.pdf doc/man3/ doc/man7/ +# Open logs after CI ends. -install-docs: - for s in $(MAN_SECTIONS); do \ - mkdir -p $(MAN_INSTALL_PATH)/man$$s/ ; \ - install -g 0 -o 0 -m 0644 doc/man$$s/*.gz $(MAN_INSTALL_PATH)/man$$s/ ; \ - done +ci:: + xdg-open logs/all_runs.html -- cgit v1.2.3