help2man needs dokku in place to get output

This commit is contained in:
Michael Hobbs committed 2015-01-16 13:03:48 -08:00
1 parent 6e7c887d5f
commit 78238785ba
1 file changed
+6 -3
+6 -3
View File
@@ -23,7 +23,7 @@ all:
install: dependencies stack copyfiles plugin-dependencies plugins version install: dependencies stack copyfiles plugin-dependencies plugins version
copyfiles: addman copyfiles:
cp dokku /usr/local/bin/dokku cp dokku /usr/local/bin/dokku
mkdir -p ${PLUGINS_PATH} mkdir -p ${PLUGINS_PATH}
find ${PLUGINS_PATH} -mindepth 2 -maxdepth 2 -name '.core' -printf '%h\0' | xargs -0 rm -Rf 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} && \ cp -R plugins/$$plugin ${PLUGINS_PATH} && \
touch ${PLUGINS_PATH}/$$plugin/.core; \ touch ${PLUGINS_PATH}/$$plugin/.core; \
done done
$(MAKE) addman
addman: addman:
apt-get install -qq -y help2man
mkdir -p /usr/local/share/man/man1 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 help2man -Nh help -v version -n "configure and get information from your dokku installation" -o /usr/local/share/man/man1/dokku.1 dokku
mandb mandb
@@ -48,7 +48,10 @@ plugin-dependencies: pluginhook
plugins: pluginhook docker plugins: pluginhook docker
dokku plugins-install dokku plugins-install
dependencies: sshcommand pluginhook docker stack dependencies: sshcommand pluginhook docker stack help2man
help2man:
apt-get install -qq -y help2man
sshcommand: sshcommand:
wget -qO /usr/local/bin/sshcommand ${SSHCOMMAND_URL} wget -qO /usr/local/bin/sshcommand ${SSHCOMMAND_URL}