summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDante Catalfamo2021-05-28 14:20:08 -0400
committerDante Catalfamo2021-05-28 14:20:08 -0400
commit22b2dcc54ef2485bf926c69f150f6a9aab021460 (patch)
tree7a2928111d47f4b9fea93db7f62f9255add0912f /Makefile
parent64c3d9ab5e736c85cf1c60ff743f2bca694adcf4 (diff)
downloadblog-22b2dcc54ef2485bf926c69f150f6a9aab021460.tar.gz
blog-22b2dcc54ef2485bf926c69f150f6a9aab021460.tar.bz2
blog-22b2dcc54ef2485bf926c69f150f6a9aab021460.zip
Begin moving shell scripts into a Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..094f888
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+server: theme
+ hugo version
+ hugo -D server
+
+deploy: theme
+ hugo
+ rsync -va --progress --delete --rsync-path="/usr/bin/openrsync" public/ blog@lambda.cx:/var/www/htdocs/blog.lambda.cx/
+ rm -r public
+
+theme:
+ git submodule update --init --recursive
+
+update:
+ git submodule update --remote --merge
+
+.PHONY: deploy servre theme update