Makefile @ 287437b3bb6c

Added tag v1.1.0 for changeset 61fde9091c13
author Steve Losh <steve@stevelosh.com>
date Sat, 08 Oct 2016 13:09:34 +0000
parents 61fde9091c13
children 31b1a5a3b5ff
.PHONY: package

files = $(shell hg files)
docfiles = $(shell hg files site)

package: ~/Desktop/splice.zip

~/Desktop/splice.zip: $(files)
	hg archive ~/Desktop/splice.zip -I 'doc' -I 'plugin' -I 'autoload' -I 'syntax' -I 'LICENSE.markdown' -I 'README.markdown'


docs: site/build/index.html

site/build/index.html: $(docfiles)
	cd site && ~/.virtualenvs/d/bin/d

pubdocs: site/build/index.html
	hg -R ~/src/sjl.bitbucket.org pull -u
	rsync --delete -az site/build/ ~/src/sjl.bitbucket.org/splice.vim
	hg -R ~/src/sjl.bitbucket.org commit -Am 'splice.vim: Update site.'
	hg -R ~/src/sjl.bitbucket.org push