summaryrefslogtreecommitdiff
path: root/src/autopoint.in
blob: bbaa9bd2a4f10a4161b90522a4da4f4acca663d5 (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
25
#!/bin/sh
m4src=@datadir@/m4

gen_makefile() {
cat << EOF > "$1"
all:
clean:
dist:
distclean:
install:
.PHONY: all clean dist distclean install
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