fix nitc path when making manpages
authorJean Privat <jean@pryen.org>
Mon, 11 Jul 2016 14:19:52 +0000 (10:19 -0400)
committerJean Privat <jean@pryen.org>
Mon, 11 Jul 2016 14:19:52 +0000 (10:19 -0400)
This broke Docker

Signed-off-by: Jean Privat <jean@pryen.org>

Makefile

index 6d3bc86..0397545 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,8 @@ doc/nitc/index.html: bin/nitdoc bin/nitls
                --piwik-site-id "3"
 
 man:
-       $(MAKE) -C share/man
+       # Setup PATH to find nitc
+       PATH=$$PWD/bin:$$PATH $(MAKE) -C share/man
 
 clean:
        rm -rf -- doc/stdlib doc/nitc || true