aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure27
1 files changed, 27 insertions, 0 deletions
diff --git a/configure b/configure
new file mode 100755
index 0000000..79d50d4
--- /dev/null
+++ b/configure
@@ -0,0 +1,27 @@
+#!/bin/sh
+# shellcheck disable=1003
+set -eu
+
+rm -f config.mk
+
+{
+ echo '.POSIX:'
+ echo
+ echo 'articles-src = \'
+ find _articles/ -type f -name '*.md' | sed 's/$/ \\/'
+ echo
+ echo 'tils-src = \'
+ find _tils/ -type f -name '*.md' | sed 's/$/ \\/'
+ echo
+ echo 'slides-src = \'
+ find _slides/ -type f -name '*.md' | sed 's/$/ \\/'
+ echo
+ echo 'pastebins-src = \'
+ find _pastebins/ -type f -name '*.md' | sed 's/$/ \\/'
+ echo
+ echo 'podcasts-src = \'
+ find _podcasts/ -type f -name '*.md' | sed 's/$/ \\/'
+ echo
+ echo 'screencasts-src = \'
+ find _screencasts/ -type f -name '*.md' | sed 's/$/ \\/'
+} >> config.mk