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}:
|
||||
@mkdir -p $@
|
||||
@echo "\t✓ Created staging space: $@"
|
||||
|
||||
${templates_expanded}: ${staging_section}/%: %.m4 ${staging_section} ${all}
|
||||
${templates_expanded}: ${staging_section}/%: %.m4 ${all}
|
||||
@mkdir -p ${staging_section}
|
||||
@m4 --include=${MAKO_DIR} $< > $@
|
||||
@echo "\t✓ Generated $@"
|
||||
|
||||
${gemtext_copied}: ${staging_section}/%: % ${staging_section}
|
||||
${gemtext_copied}: ${staging_section}/%: %
|
||||
@mkdir -p ${staging_section}
|
||||
@cat $< > $@
|
||||
@echo "\t✓ Copied $@"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user