marketplace-2014/marketplace/scribblings/Makefile

25 lines
403 B
Makefile

all: out
pages:
git clone -b gh-pages ../.. pages
publish: out pages
rm -rf pages/*
cp -r out/marketplace/. pages/.
(cd pages; git add -A)
-(cd pages; git commit -m "Update $$(date +%Y%m%d%H%M%S)")
(cd pages; git push)
rm -rf pages
out:
raco scribble \
--htmls \
--dest out \
++main-xref-in \
--redirect-main http://docs.racket-lang.org/ \
\
marketplace.scrbl
clean:
rm -rf out