summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-01-18 13:53:45 -0800
committerFranck Cuny <franckcuny@gmail.com>2015-01-18 13:53:45 -0800
commit3fdd8b9907b38b1fbe8b5dfbed9a870938a06d11 (patch)
treedbfa8125f127e1f860f4e82a2bcd3f09834cecd7
parentupdate license file (diff)
downloadlumberjaph-3fdd8b9907b38b1fbe8b5dfbed9a870938a06d11.tar.gz
fix target for webp ?
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5e46eb4..af0945c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,7 @@ JPG2WEBP := $(patsubst %.jpg,%.webp,$(JPGS))
images: $(PNG2WEBP) $(JPG2WEBP)
-%.webp: %.png
- cwebp -q 100 "$<" -o "$@"
-
-%.webp: %.jpg
+%.webp: %.png %.jpg
cwebp -q 100 "$<" -o "$@"
build: clean