diff options
Diffstat (limited to 'dynamic.mk')
-rw-r--r-- | dynamic.mk | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -1,7 +1,8 @@ .POSIX: + .SUFFIXES: -.SUFFIXES: .md .env .html .ly .flac .midi .ogg .pdf +.SUFFIXES: .md .env .html .ly .flac .midi .ogg .pdf .flac .md.env: sh src/development/frontmatter-env.sh < $< > $@ @@ -15,6 +16,9 @@ .midi.ogg: timidity -Ov $< +.flac.ogg: + ffmpeg -y -i $< -ar 48000 -vn -c:a libvorbis -b:a 320k $@ + include generated.mk @@ -28,10 +32,15 @@ lilypond.midi = $(lilypond.ly:.ly=.midi) lilypond.ogg = $(lilypond.ly:.ly=.ogg) lilypond = $(lilypond.pdf) $(lilypond.midi) $(lilypond.ogg) +podcasts.ogg = $(podcasts.flac:.flac=.ogg) +podcasts = $(podcasts.ogg) + ALL = \ - $(pastebins) \ - $(lilypond) \ - $(torrent-files) + $(pastebins) \ + $(lilypond) \ + $(torrent-files) \ + $(podcasts) + all: $(ALL) $(torrent-files): |