File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,18 @@ ext/stmicro/html-archive/%: ext/stmicro/pdf/%.pdf log/stmicro/html/
8787# # archive. The log will be placed in log/stmicro/html/%.txt.
8888convert-stmicro-html-% : ext/stmicro/html-archive/%
8989
90- stmicro_pdf2html = $(sort $(1 :ext/stmicro/pdf/%.pdf=ext/stmicro/html-archive/% ) )
90+ stmicro_pdf2html = $(sort $(foreach path,$1, $( path :ext/stmicro/pdf/%.pdf=ext/stmicro/html-archive/%) ) )
9191.PHONY : convert-stmicro-html-rm
9292# # Convert all STMicro Reference Manual PDFs into HTML.
93- convert-stmicro-html-rm : $(stmicro_pdf2html $(wildcard ext/stmicro/pdf/RM* .pdf) )
93+ convert-stmicro-html-rm : $(call stmicro_pdf2html, $(wildcard ext/stmicro/pdf/RM* .pdf) )
9494
9595.PHONY : convert-stmicro-html-ds
9696# # Convert all STMicro Datasheet PDFs into HTML.
97- convert-stmicro-html-ds : $(stmicro_pdf2html $(wildcard ext/stmicro/pdf/DS* .pdf) )
97+ convert-stmicro-html-ds : $(call stmicro_pdf2html, $(wildcard ext/stmicro/pdf/DS* .pdf) )
9898
9999.PHONY : convert-stmicro-html
100100# # Convert all STMicro PDFs into HTML.
101- convert-stmicro-html : $(stmicro_pdf2html $(wildcard ext/stmicro/pdf/* .pdf) )
101+ convert-stmicro-html : $(call stmicro_pdf2html, $(wildcard ext/stmicro/pdf/* .pdf) )
102102
103103.PHONY : clean-stmicro-html-%
104104# # Remove all STMicro HTML folders of a specific document number.
You can’t perform that action at this time.
0 commit comments