summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxhe <xw897002528@gmail.com>2017-11-07 23:43:37 +0800
committerxhe <xw897002528@gmail.com>2017-11-07 23:43:37 +0800
commit809cf35b7d8ed23328e6103fd36aef31806f40e7 (patch)
tree457042bc13f954dcd339cc048285007ff7af9b36
parent53d2a0da64abb47aca13a3e0c2be1f231b76b49d (diff)
downloadgettext-tiny-809cf35b7d8ed23328e6103fd36aef31806f40e7.tar.gz
autopoint: always overwrite makefile.in/m4 files
Because some of our tools are just stub implementations, or not a full-feautured tool, we should always overwrite makefile.in and m4 files to ensure our programs wont die due to the GNU makefile. So we get a maximum possibility for passing the build.
-rwxr-xr-xsrc/autopoint.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autopoint.in b/src/autopoint.in
index 9b29500..a7ddc51 100755
--- a/src/autopoint.in
+++ b/src/autopoint.in
@@ -3,12 +3,12 @@ m4src=@datadir@/m4
mkdir -p m4 intl po
for i in $m4src/*.m4 ; do
- cp $i m4/
+ cp -f $i m4/
done
touch config.rpath ABOUT-NLS
for i in intl/Makefile.in po/Makefile.in.in ; do
- [ -e "$i" ] || install -D -m 644 @datadir@/data/autopoint_Makefile.in "$i"
+ install -D -m 644 @datadir@/data/autopoint_Makefile.in "$i"
done
true