aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile6
-rw-r--r--dynamic.mk17
-rwxr-xr-xsrc/development/dynmake.sh13
3 files changed, 26 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 7f9c93b..3646525 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,6 @@
.POSIX:
FQDN = euandre.org
-.SUFFIXES:
-.SUFFIXES: .flac .ogg
-
-.flac.ogg:
- ffmpeg -y -i $< -ar 48000 -vn -c:a libvorbis -b:a 320k $@
-
favicons = static/lord-favicon.png static/lord-favicon.ico favicon.ico
diff --git a/dynamic.mk b/dynamic.mk
index 7510067..9bb1632 100644
--- a/dynamic.mk
+++ b/dynamic.mk
@@ -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):
diff --git a/src/development/dynmake.sh b/src/development/dynmake.sh
index 8372d52..4098f46 100755
--- a/src/development/dynmake.sh
+++ b/src/development/dynmake.sh
@@ -107,3 +107,16 @@ lilyponds | varlist
printf '\n'
lilyponds | sed 's/^\(.*\)\.ly$/\1.pdf: \1.midi/'
+
+
+#
+# Podcasts
+#
+
+podcasts() {
+ find resources/podcasts/ -name '*.flac'
+}
+
+printf 'podcasts.flac = \\\n'
+podcasts | varlist
+printf '\n'