aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-09-03 17:03:45 -0300
committerEuAndreh <eu@euandre.org>2021-09-03 17:03:45 -0300
commit321d8699dd63d11406f3cae7fa34dfda30c24b10 (patch)
tree890345c462e5e9ee2f8a8115f92ddb79900bcd3b /configure
parent_plugins/linter.rb: Fix slugifying of () (diff)
downloadeuandre.org-321d8699dd63d11406f3cae7fa34dfda30c24b10.tar.gz
euandre.org-321d8699dd63d11406f3cae7fa34dfda30c24b10.tar.xz
configure: WIP file
Diffstat (limited to '')
-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