summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-04-30 00:11:35 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-04-30 00:11:35 +0200
commit2da61b1f2ddab3b0e59b9631f1bc3c53109eaa11 (patch)
treedd6aa78a0afefd6c3eed9f7a82b3d99c71ad70a1
parentabc3800e48172345f260ab1d2a3849f646526458 (diff)
rules: Uncouple NAME variable from PHONY upload tasks.
-rw-r--r--rules.mk4
1 files 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/$<