source code for html website at https://zachdecook.com
Diffstat (limited to 'devo/Makefile')
| -rw-r--r-- | devo/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/devo/Makefile b/devo/Makefile new file mode 100644 index 0000000..841ecff --- /dev/null +++ b/devo/Makefile @@ -0,0 +1,8 @@ +*.html: *.md + # Split file by header lines + awk '($$1 == "#"){of = $$2 ".md"}{print > of}' devo.md + ls 2*.md | xargs -I{} sh -c 'cat common.md {} |python3 -m markdown -f {}.html' + # perl-rename + rename -f 's/.md.html/.html/' *.md.html + # util-linux rename + # rename .md.html .html *.md.html |