summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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