summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2016-01-02 15:48:11 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2016-01-02 15:48:11 -0500
commit3ed3065990d297c5debf927210f46f0f7e1f0043 (patch)
tree7e5a33acad263b95eeff8e5ce2a3dd9056015a70
parent5e3c9e1d2f70ab327a165eacd78b0ad9004e810d (diff)
Added rsync exclude filter (for doc uploads).
-rw-r--r--Makefile2
-rw-r--r--docs/rsync-exclude.filter3
2 files changed, 4 insertions, 1 deletions
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