aboutsummaryrefslogtreecommitdiff
path: root/src/development
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-06-01 21:41:57 -0300
committerEuAndreh <eu@euandre.org>2022-06-01 21:41:57 -0300
commit3b88471ab8ed28ff66657957c2a3f3882cc6aeac (patch)
treece82f6c0d2eeb434991b7ca98481fee12d460d7e /src/development
parentMove files.mk and deps.mk into generated.mk (diff)
downloadeuandre.org-3b88471ab8ed28ff66657957c2a3f3882cc6aeac.tar.gz
euandre.org-3b88471ab8ed28ff66657957c2a3f3882cc6aeac.tar.xz
Generate LilyPond files in dynamic.mk
Diffstat (limited to 'src/development')
-rwxr-xr-xsrc/development/dynmake.sh30
1 files changed, 19 insertions, 11 deletions
diff --git a/src/development/dynmake.sh b/src/development/dynmake.sh
index 9b74a9f..15251e7 100755
--- a/src/development/dynmake.sh
+++ b/src/development/dynmake.sh
@@ -66,17 +66,14 @@ varlist() {
#
pastebins() {
- find src/content/pastebin -name '*.md'
+ find src/content/pastebin/ -name '*.md'
}
printf 'pastebins.md = \\\n'
-pastebins |
- varlist
-
+pastebins | varlist
printf '\n'
-pastebins |
- sed 's/^\(.*\)\.md$/\1.html: \1.env/'
+pastebins | sed 's/^\(.*\)\.md$/\1.html: \1.env/'
@@ -85,18 +82,29 @@ pastebins |
#
torrents() {
- find resources \
+ find resources/ \
-name '*.flac' -or \
-name '*.ogg' -or \
-name '*.webm'
}
printf 'torrent-files = \\\n'
+torrents | sed 's|$|.torrent|' | varlist
+printf '\n'
+
+torrents | awk '{ printf "%s.torrent: %s\n", $0, $0 }'
+
-torrents |
- sed 's|$|.torrent|' |
- varlist
+#
+# Lilypond files
+#
+lilyponds() {
+ find music/ -name '*.ly'
+}
+
+printf 'lilypond.ly = \\\n'
+lilyponds | varlist
printf '\n'
-torrents | awk '{ printf "%s.torrent: %s\n", $0, $0 }'
+lilyponds | sed 's/^\(.*\)\.ly$/\1.pdf: \1.midi/'