diff --git a/makefile b/makefile index 4258e48..afc34be 100644 --- a/makefile +++ b/makefile @@ -6,13 +6,15 @@ SONG_PDF := $(patsubst %$(SRC_EXTENSION),%.pdf,$(SONG_CHO)) SONG_HTML := $(patsubst %$(SRC_EXTENSION),%.html,$(SONG_CHO)) SONGBOOK := songbook.pdf +SHELL := $(shell echo $$SHELL) + .DEFAULT_GOAL := all %.pdf: %$(SRC_EXTENSION) - chordpro --config=chordpro.json -o $@ $< + $(SHELL) -c 'chordpro --config=chordpro.json -o $@ $<' %.html: %$(SRC_EXTENSION) - chordpro --config=chordpro.json -o $@ $< + $(SHELL) -c 'chordpro --config=chordpro.json -o $@ $<' all: $(SONG_PDF) $(SONG_HTML) $(SONGBOOK)