diff options
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 |