aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-12 19:32:17 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-12 19:32:17 +0300
commit3b80e5be5d9efcec1f73deda7fd4910f48834a83 (patch)
tree23d127a26f868e3066546aefcf37601394c20189 /Makefile.am
parent70bc75567b2ea3e0309b9171168bc1d2c1cadf43 (diff)
parent46810569c80b88bb468600eefe2eb460487ee0a1 (diff)
downloadegawk-3b80e5be5d9efcec1f73deda7fd4910f48834a83.tar.gz
egawk-3b80e5be5d9efcec1f73deda7fd4910f48834a83.tar.bz2
egawk-3b80e5be5d9efcec1f73deda7fd4910f48834a83.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c14a39b3..9a5e1618 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -144,6 +144,9 @@ CLEANFILES = core core.*
# We want hard links for install-exec-hook, below
LN= ln
+# For some make's, e.g. OpenBSD, that don't define this
+RM = rm -f
+
# First, add a link from gawk to gawk-X.Y.Z.
#
# For GNU systems where gawk is awk, add a link to awk.
@@ -176,7 +179,7 @@ dist-hook:
sed -n -f configpk.sed < ../configure.ac > /tmp/tmp.sed ; \
sed -f config.sed < ../configh.in > /tmp/config.tmp ; \
sed -f /tmp/tmp.sed < /tmp/config.tmp > config.h ; \
- rm -f /tmp/tmp.sed /tmp/config.tmp
+ $(RM) /tmp/tmp.sed /tmp/config.tmp
pwd
chmod u+w $(distdir)/pc/config.h
cp $(srcdir)/pc/config.h $(distdir)/pc/config.h