aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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/'