From 3ed3065990d297c5debf927210f46f0f7e1f0043 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Sat, 2 Jan 2016 15:48:11 -0500 Subject: Added rsync exclude filter (for doc uploads). --- Makefile | 2 +- docs/rsync-exclude.filter | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 docs/rsync-exclude.filter diff --git a/Makefile b/Makefile index ff84d1f..96cdb87 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ upload-pypi: @twine upload -r bgpypi -s -i sravik@bgsu.edu dist/*.whl upload-docs: - @rsync -avz docs/_build/html/ $(COMBOX_DOCS_HOST) + @rsync -avz --delete --exclude-from=docs/rsync-exclude.filter docs/_build/html/ $(COMBOX_DOCS_HOST) clean-docs: @$(MAKE) -C docs clean diff --git a/docs/rsync-exclude.filter b/docs/rsync-exclude.filter new file mode 100644 index 0000000..8fe7661 --- /dev/null +++ b/docs/rsync-exclude.filter @@ -0,0 +1,3 @@ +txt/ +archive/ +*.webm \ No newline at end of file -- cgit v1.2.3