edit makefile
authorGreg Farough <gregf@gnu.org>
Wed, 18 Mar 2020 16:55:17 +0000 (12:55 -0400)
committerGreg Farough <gregf@gnu.org>
Wed, 18 Mar 2020 16:55:17 +0000 (12:55 -0400)
2020/Makefile

index 3ac561d53ef6980258448110625f7ef2164d4fd2..dff43c769994a7e746f8a832c8257d7b7244a422 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 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 \
+for f in $(find -name '*.mdwn' -type f); do \
+       python -m markdown $f > ${f%mdwn}html; \
+       fi \
        done
 
 speakers: