summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-02-22 11:15:13 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-02-22 11:15:13 +0100
commit42da410946a5f6338922e07ba85001fa51660d56 (patch)
tree75983bd2149b022fb1cd58559e5f60c5380aaad2
parentbc3091d3380abd8691ab93c7f5e76edacca472c7 (diff)
Move final targets up so that the wav target is the default.
-rw-r--r--targets.mk21
1 files changed, 11 insertions, 10 deletions
diff --git a/targets.mk b/targets.mk
index a75de30..c44f92c 100644
--- a/targets.mk
+++ b/targets.mk
@@ -8,6 +8,17 @@ CPU_CORES=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'`
# The command to run lilypond
LILY_CMD = lilypond -ddelete-intermediate-files -drelative-includes -djob-count=$(CPU_CORES)
+wav: $(NAME).wav
+ogg: $(NAME).ogg
+guide: guide.wav
+
+upload-ogg: ogg
+ scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg
+
+upload-wav: wav
+ scp $(NAME).wav elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).wav
+
+
parts/%.pdf: parts/%.ly music/%.ly
$(LILY_CMD) $<
@@ -31,13 +42,3 @@ guide.wav: $(NAME)-klick.wav $(NAME).wav
%.ogg: %.wav
oggenc $<
-
-wav: $(NAME).wav
-ogg: $(NAME).ogg
-guide: guide.wav
-
-upload-ogg: ogg
- scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg
-
-upload-wav: wav
- scp $(NAME).wav elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).wav