From 2da61b1f2ddab3b0e59b9631f1bc3c53109eaa11 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 30 Apr 2017 00:11:35 +0200 Subject: rules: Uncouple NAME variable from PHONY upload tasks. --- rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.mk b/rules.mk index 120172c..ff8e111 100644 --- a/rules.mk +++ b/rules.mk @@ -25,7 +25,7 @@ $(NAME)/$(NAME).ogg: $(NAME)/$(NAME).wav oggenc $< $(NAME)/upload-ogg: $(NAME)/$(NAME).ogg - cd $(NAME) && scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg + scp $< elephly.net:~/elephly.net/secret/band/$< $(NAME)/upload-wav: $(NAME)/$(NAME).wav - cd $(NAME) && scp $(NAME).wav elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).wav + scp $< elephly.net:~/elephly.net/secret/band/$< -- cgit v1.2.3