aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2017-06-22 16:23:40 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2017-06-22 16:23:40 +0100
commit6d1c6bc1b8421fd4dba63ab55b08599965fd11f7 (patch)
tree09b1faa7305456dfa029fa997f30609858eefe25
parenta2e698d0b173f5f7531ff0c70b26f2eacf3a5608 (diff)
Use bundler to make manpages
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2254496..d8176f7 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ man:
mkdir -p man
man/%.1: bin/%
- ruby -I lib $< --manual | txt2man -t $(notdir $<) -s 1 > $@
+ bundle exec $< --manual | txt2man -t $(notdir $<) -s 1 > $@
+ test -s $@
clean:
$(RM) -r man