summaryrefslogtreecommitdiff
path: root/src/autopoint.in
blob: c1ab563797545b719dae07d5eda2a50527ee4450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
m4src=@m4dir@/m4

gen_makefile() {
cat << EOF > "$1"
all:
clean:
dist:
distclean:
.PHONY: all clean dist distclean
EOF
}

mkdir -p m4 intl po
for i in $m4src/*.m4 ; do
	cp $i m4/
done

touch config.rpath ABOUT-NLS

for i in intl/Makefile.in po/Makefile.in.in ; do
	[ -e "$i" ] && touch "$i" || gen_makefile "$i"
done
true