diff options
author | EuAndreh <eu@euandre.org> | 2022-06-01 21:41:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-06-01 21:41:57 -0300 |
commit | 3b88471ab8ed28ff66657957c2a3f3882cc6aeac (patch) | |
tree | ce82f6c0d2eeb434991b7ca98481fee12d460d7e /Makefile | |
parent | Move files.mk and deps.mk into generated.mk (diff) | |
download | euandre.org-3b88471ab8ed28ff66657957c2a3f3882cc6aeac.tar.gz euandre.org-3b88471ab8ed28ff66657957c2a3f3882cc6aeac.tar.xz |
Generate LilyPond files in dynamic.mk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 33 |
1 files changed, 6 insertions, 27 deletions
@@ -2,42 +2,21 @@ FQDN = euandre.org .SUFFIXES: -.SUFFIXES: .ly .flac .midi .ogg .pdf - -.ly.midi: - lilypond -o $* $< - -.midi.ogg: - timidity -Ov $< +.SUFFIXES: .flac .ogg .flac.ogg: ffmpeg -y -i $< -ar 48000 -vn -c:a libvorbis -b:a 320k $@ -lilypond.ly = \ - music/choro-da-saudade.ly \ - music/dengoso.ly \ - music/marcha-dos-marinheiros.ly -lilypond.pdf = $(lilypond.ly:.ly=.pdf) -lilypond.midi = $(lilypond.ly:.ly=.midi) -lilypond.ogg = $(lilypond.midi:.midi=.ogg) -lilypond = \ - $(lilypond.pdf) \ - $(lilypond.midi) \ - $(lilypond.ogg) - favicons = static/lord-favicon.png static/lord-favicon.ico favicon.ico derived-assets = \ - $(pastebins) \ - $(lilypond) \ $(favicons) \ - $(podcasts.ogg) \ TODOs.html \ -all: public dynamic +all: public dynamic: generated.mk $(MAKE) -f dynamic.mk all @@ -52,8 +31,6 @@ JEKYLL_COMPAT: # always considered stale. ALWAYS: -$(lilypond.pdf): $(lilypond.midi) - static/lord-favicon.png: static/lord-favicon.svg inkscape -o $@ -w 2048 -h 2048 -b white static/lord-favicon.svg @@ -79,14 +56,16 @@ check: dev-check: check clean: + $(MAKE) -f dynamic.mk clean rm -rf \ public/ .jekyll-cache \ $(derived-assets) \ - src/content/ generated.mk \ + src/content/ + # rm -f generated.mk JEKYLL = JEKYLL_ENV=production jekyll -public: $(derived-assets) +public: $(derived-assets) dynamic $(JEKYLL) build run: all |