This allows us to run the makefile with or without a shell function with Docker. This should work both locally and during build in the pipeline.
This commit is contained in:
parent
d1ba57009d
commit
8b25dbdca2
6
makefile
6
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user