diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-02-22 11:15:13 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-02-22 11:15:13 +0100 |
commit | 42da410946a5f6338922e07ba85001fa51660d56 (patch) | |
tree | 75983bd2149b022fb1cd58559e5f60c5380aaad2 | |
parent | bc3091d3380abd8691ab93c7f5e76edacca472c7 (diff) |
Move final targets up so that the wav target is the default.
-rw-r--r-- | targets.mk | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -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 |