Skip to content

Commit

Permalink
make shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
shua committed Nov 26, 2023
1 parent 5efd7ad commit fd84e54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ posts.mk:
}

.SUFFIXES: .md .html .xml .css
.md.html:
.md.html: render.sh
./render.sh -t post <$< >$@

new_posts.md: $(POSTS)
ls $(POSTS) |sort -r |head -n5 |./posts.sh embed >$@
index.html: index.md new_posts.md
index.html: index.md new_posts.md render.sh
cat index.md new_posts.md |./render.sh -t person >$@
404.html: 404.md
404.html: 404.md render.sh
./render.sh <$< >$@

posts.html: $(POSTS)
posts.html: $(POSTS) render.sh
ls $(POSTS) |sort -r |./posts.sh |./render.sh -t menu >$@

feed.xml: $(POSTS)
Expand Down

0 comments on commit fd84e54

Please sign in to comment.