summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2016-04-11 09:27:05 +0200
committerPavel Grunt <pgrunt@redhat.com>2016-04-11 09:33:28 +0200
commitb1fbc3065987d878ec07e29cd8459dede6747295 (patch)
treeb350a174eb938ca1e164a61e4ef0830f41f54073
parentc88fe2a940e47839891b536fa358100250e2d435 (diff)
Makefile: Add zip rule
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e71a56e..837c2f7 100644
--- a/Makefile
+++ b/Makefile
@@ -123,4 +123,7 @@ github: publish
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) $(OUTPUTDIR)
git push origin $(GITHUB_PAGES_BRANCH)
+zip: html
+ cd output && zip -r web.zip * && mv web.zip ../
+
.PHONY: html help clean regenerate serve serve-global devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github