summaryrefslogtreecommitdiff
path: root/src/autopoint.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/autopoint.in')
-rwxr-xr-xsrc/autopoint.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/autopoint.in b/src/autopoint.in
new file mode 100755
index 0000000..0adb809
--- /dev/null
+++ b/src/autopoint.in
@@ -0,0 +1,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
+
+for i in intl/Makefile.in po/Makefile.in.in ; do
+ [ -e "$i" ] && touch "$i" || gen_makefile "$i"
+done
+true