From b63bbd51270a514044b1ac1db3d9268b7c6aadd4 Mon Sep 17 00:00:00 2001 From: Greg Farough Date: Wed, 18 Mar 2020 13:08:09 -0400 Subject: [PATCH] Revert "edit makefile" This reverts commit 51ac37039d240c8eb9ad6b775ca7355b7469026a. --- 2020/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/2020/Makefile b/2020/Makefile index dff43c76..3ac561d5 100644 --- a/2020/Makefile +++ b/2020/Makefile @@ -16,10 +16,13 @@ all: @echo "Give me something to make." +# for f in $(find -name '*.mdwn' -type f); do python -m markdown $f > ${f%mdwn}html; done +# todo: edit below command so it translates ALL markdown files. use above command instead until then. wikipages: -for f in $(find -name '*.mdwn' -type f); do \ - python -m markdown $f > ${f%mdwn}html; \ - fi \ + for dir in fun getting-around raffle safe-space-policy speaker-release sponsors volunteer; do \ + if [ -f $$dir/index.mdwn ] ; then \ + python -m markdown $$dir/index.mdwn > $$dir/index.html ; \ + fi \ done speakers: -- 2.25.1