Revert "edit makefile"
authorGreg Farough <gregf@gnu.org>
Wed, 18 Mar 2020 17:08:09 +0000 (13:08 -0400)
committerGreg Farough <gregf@gnu.org>
Wed, 18 Mar 2020 17:08:09 +0000 (13:08 -0400)
This reverts commit 51ac37039d240c8eb9ad6b775ca7355b7469026a.

2020/Makefile

index dff43c769994a7e746f8a832c8257d7b7244a422..3ac561d53ef6980258448110625f7ef2164d4fd2 100644 (file)
 
 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: