summaryrefslogtreecommitdiff
path: root/configure
blob: 6ab8e84f53fd41577eeb218e6b3a0cf1ca05ad25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
> config.mk < /dev/null
for i in *
do
	if [ ! -d "$i" ]
	then
		continue
	fi
	if [ -h "$i" ]
	then
		continue
	fi
	for j in "$i"/*.7
	do
		if [ '*.7' = "${j##*/}" ]
		then
			break
		fi
		printf 'PAGES += %s\n' "${j%%.7}" | tee -a config.mk
	done
done