~ryanford/git-blog-tup

688fb7e59c99ef5fb6b12c43929e0f394f928562 — Ryan Ford 3 years ago 91df929
use tup varsed
1 files changed, 2 insertions(+), 2 deletions(-)

M src/posts/Tupfile
M src/posts/Tupfile => src/posts/Tupfile +2 -2
@@ 2,7 2,7 @@ include_rules
include $(SCRIPTS)/create_posts.lua

: foreach *.md |> ^b generating %f^ echo "%f" | $(NEW_PIPELINE) > %o |> $(TMP)/posts/%B.html {posts}
: foreach {posts} |> ^ substitution on %b^ tup varsed "$(ROOT)/tup.config" "%f" >  %o |> $(DIST)/posts/%b
: foreach {posts} |> ^ substitution on %b^ tup varsed %f > %o |> $(DIST)/posts/%b

: *.md |> ^b generating index.html^ $(PLUGINS)/create_index "%f" > "%o" |> $(TMP)/index.html {index}
: {index} |> ^ substitution on %b^ tup varsed "$(ROOT)/tup.config" "%f" > %o |> $(DIST)/%b
: {index} |> ^ substitution on %b^ tup varsed %f > %o |> $(DIST)/%b