diff --git a/curate.mk b/curate.mk index 3b54af3..e314eb7 100644 --- a/curate.mk +++ b/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 $@"