aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-08-16 16:51:21 +0200
committerLoïc Hoguin <[email protected]>2018-08-16 16:51:21 +0200
commitf317200563bf3b7547cbca6b825fd6bee50a6528 (patch)
tree4161598ac5a4912bafa64e5dd443292062632b04 /Makefile
parentabe4ff5ca5c6c74c4c1562c38d74ab232607312b (diff)
downloadasciideck-f317200563bf3b7547cbca6b825fd6bee50a6528.tar.gz
asciideck-f317200563bf3b7547cbca6b825fd6bee50a6528.tar.bz2
asciideck-f317200563bf3b7547cbca6b825fd6bee50a6528.zip
Fix warnings evidenced by the groff tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 66c733d..c6fca92 100644
--- a/Makefile
+++ b/Makefile
@@ -45,11 +45,12 @@ $(ERLANG_MK_TMP)/groff/$1: | $(ERLANG_MK_TMP)/groff
$(verbose) git clone -q --depth 1 -- $(call dep_repo,$1) $$@
$(verbose) mkdir $$@/deps
$(verbose) ln -s $(CURDIR) $$@/deps/asciideck
+ $(verbose) touch $$@/deps/ci.erlang.mk
$(verbose) cp $(CURDIR)/erlang.mk $$@/
-groff-$1: $(ERLANG_MK_TMP)/groff/$1
- $(gen_verbose) $(MAKE) -C $$^ asciidoc-manual
- $(verbose) for f in $$^/doc/man*/*.gz; do \
+groff-$1: $(ERLANG_MK_TMP)/groff/$1 app
+ $(gen_verbose) $(MAKE) -C $$< asciidoc-manual MAKEFLAGS= DEPS_DIR=$$</deps ERL_LIBS=$$</deps
+ $(verbose) for f in $$</doc/man*/*.gz; do \
echo " GROFF " `basename "$$$$f"`; \
zcat "$$$$f" | groff -man -rD1 -z -ww; \
done