mkmi 574 Bytes
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
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
28
29
#!/bin/sh
for i in \
	Makefile \
	doc/Makefile \
	doc/man/Makefile \
	scripts/Makefile \
	src/Makefile \
	src/include/Makefile \
	src/include/server/Makefile \
	src/libraries/Makefile \
	src/libraries/libansi/Makefile \
	src/libraries/libcommon/Makefile \
	src/libraries/libisc-new/Makefile \
	src/libraries/libisc-new/src/Makefile \
	src/libraries/libmisc/Makefile \
	src/libraries/regex/Makefile \
	src/server/Makefile
do
	rm -f $i.in2
	echo $i
	m4 ./scripts/mkmi.m4 $i.src > $i.in2
	if cmp $i.in2 $i.in
	then
		rm -f $i.in2
	else
		rm -f $i.in
		mv $i.in2 $i.in
	fi
done