aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 978a0dc997bb931c63868bec258ef0683267e66c (plain) (tree)
1
       





























                                           
      




                                          
 

                
      


                           
 
           
                    
 
               
                                                                             
.POSIX:

.SUFFIXES:
.SUFFIXES: .ly .flac .midi .ogg .pdf

.ly.midi:
	lilypond -o $* $<

.midi.ogg:
	timidity -Ov $<


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)


all: $(lilypond)


$(lilypond.pdf): $(lilypond.midi)


check:
	sh aux/assert-shellcheck.sh
	sh aux/workflow/assert-todos.sh
	sh scripts/assert-spelling.sh
	sh scripts/extract-translations.sh
	sh scripts/apply-translations.sh

dev-check: check

clean:
	rm -rf \
		public/ \
		$(lilypond)

public: all
	jekyll build

publish: public
	rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete