aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-05-08 18:35:39 +0200
committerlonkaars <loek@pipeframe.xyz>2023-05-08 18:35:39 +0200
commit770658c8434d7b7c0e716b7e375c733e79dc4a88 (patch)
tree5c1b48cfd9fd5748f0cb7d95051b396e15867fb5 /makefile
parentf3b582307cc3caf5ee0c7514d461e47fb5893bc7 (diff)
more website
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..3b1abff
--- /dev/null
+++ b/makefile
@@ -0,0 +1,4 @@
+all: $(patsubst %-full.jpg,%-thumb.jpg, $(wildcard public/img/product/*-full.jpg))
+
+public/img/product/%-thumb.jpg: public/img/product/%-full.jpg
+ convert -scale 250 $< $@