blob: 79d50d439301782fb3206aad9a844f39cbe3d489 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|