summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-03-16 17:42:10 -0400
committerSam Anthony <sam@samanthony.xyz>2026-03-16 17:42:10 -0400
commit8618369c14be7110bbff9614824ea8b83426825b (patch)
treec8da89f05bf85839e636a1c2c2f08eaa562dcfe0
parentb4d439ebaa470dbeb5f860775b3bb90f3a2af189 (diff)
downloadsamanthony.xyz-8618369c14be7110bbff9614824ea8b83426825b.zip
makefile: init submodules
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ebcd1ae..1f2850c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
MODS = themes/aoidh static/resume
-build: static/resume.png
+build: ${MODS} static/resume.png
hugo build
publish: build
@@ -19,5 +19,4 @@ static/resume.png: static/resume.pdf
gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -sOutputFile=$@ $<
${MODS}:
- git submodule init
- git submodule update --recursive
+ git submodule update --init --recursive