Place directory making logic into recipes
This commit is contained in:
parent
9aeee46e42
commit
dc7cc4ce8f
10
curate.mk
10
curate.mk
|
@ -99,15 +99,13 @@ help: #> Display this help message
|
||||||
#
|
#
|
||||||
#-----------------------------------------------------------------------------#
|
#-----------------------------------------------------------------------------#
|
||||||
|
|
||||||
${staging_section}:
|
${templates_expanded}: ${staging_section}/%: %.m4 ${all}
|
||||||
@mkdir -p $@
|
@mkdir -p ${staging_section}
|
||||||
@echo "\t✓ Created staging space: $@"
|
|
||||||
|
|
||||||
${templates_expanded}: ${staging_section}/%: %.m4 ${staging_section} ${all}
|
|
||||||
@m4 --include=${MAKO_DIR} $< > $@
|
@m4 --include=${MAKO_DIR} $< > $@
|
||||||
@echo "\t✓ Generated $@"
|
@echo "\t✓ Generated $@"
|
||||||
|
|
||||||
${gemtext_copied}: ${staging_section}/%: % ${staging_section}
|
${gemtext_copied}: ${staging_section}/%: %
|
||||||
|
@mkdir -p ${staging_section}
|
||||||
@cat $< > $@
|
@cat $< > $@
|
||||||
@echo "\t✓ Copied $@"
|
@echo "\t✓ Copied $@"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue