From 6e7c887d5f1705b1e40505e87e4ebdf48da78abd Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 16 Jan 2015 15:26:57 -0500 Subject: [PATCH 1/2] Install help2man --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c7910a2be..657a42399 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ copyfiles: addman done addman: + apt-get install -qq -y help2man mkdir -p /usr/local/share/man/man1 help2man -Nh help -v version -n "configure and get information from your dokku installation" -o /usr/local/share/man/man1/dokku.1 dokku mandb From 78238785baeb8e6b2887559bd82d8f71786a414f Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Fri, 16 Jan 2015 12:38:37 -0800 Subject: [PATCH 2/2] help2man needs dokku in place to get output --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 657a42399..59c3b5fb1 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ all: install: dependencies stack copyfiles plugin-dependencies plugins version -copyfiles: addman +copyfiles: cp dokku /usr/local/bin/dokku mkdir -p ${PLUGINS_PATH} find ${PLUGINS_PATH} -mindepth 2 -maxdepth 2 -name '.core' -printf '%h\0' | xargs -0 rm -Rf @@ -32,9 +32,9 @@ copyfiles: addman cp -R plugins/$$plugin ${PLUGINS_PATH} && \ touch ${PLUGINS_PATH}/$$plugin/.core; \ done + $(MAKE) addman addman: - apt-get install -qq -y help2man mkdir -p /usr/local/share/man/man1 help2man -Nh help -v version -n "configure and get information from your dokku installation" -o /usr/local/share/man/man1/dokku.1 dokku mandb @@ -48,7 +48,10 @@ plugin-dependencies: pluginhook plugins: pluginhook docker dokku plugins-install -dependencies: sshcommand pluginhook docker stack +dependencies: sshcommand pluginhook docker stack help2man + +help2man: + apt-get install -qq -y help2man sshcommand: wget -qO /usr/local/bin/sshcommand ${SSHCOMMAND_URL}