Updates documentation file with make

This commit is contained in:
Bruno Tavares
2015-05-24 00:09:52 -03:00
parent 421148456f
commit 62a482c062
2 changed files with 10 additions and 3 deletions

View File

@ -6,6 +6,12 @@ PREFIX?=/usr/local
INSTALL_BIN=$(PREFIX)/bin
KICKSTART_LOCATION=$(PREFIX)/share/kickstart
docs/index.md: $(shell find docs/kickstart)
echo "# Kickstart" > docs/index.md
echo "" >> docs/index.md
echo "### Functions" >> docs/index.md
find docs/kickstart -type f | cut -d/ -f2- | cut -d. -f1 | xargs -n1 -I l bash -c 'echo "* [$$(echo l | tr / .)](l)"' >> docs/index.md
deb: clean
fpm -s dir -t deb -n kickstart \
-x usr/local/share/kickstart/.baseline \