summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-02-21 19:49:42 +0000
committerRoland McGrath <roland@redhat.com>1993-02-21 19:49:42 +0000
commit4034f2bdfbc61a38c4ef4669e30d2757c7f08d33 (patch)
treec262247303716070fc4f6fa9960aa32acce73c9b /compatMakefile
parentb2361b3591d1188d8d9b7ec785d4201d8aece22f (diff)
downloadmake-4034f2bdfbc61a38c4ef4669e30d2757c7f08d33.tar.gz
Formerly compatMakefile.~64~
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/compatMakefile b/compatMakefile
index 7d2826a..5a620f7 100644
--- a/compatMakefile
+++ b/compatMakefile
@@ -93,7 +93,7 @@ manext = 1
# switch) will not work unless make is installed setgid kmem.
install_setgid = @NEED_SETGID@
# Install make setgid to this group so it can read /dev/kmem.
-group = kmem
+group = @KMEM_GROUP@
# Program to install `make'.
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -184,6 +184,9 @@ $(bindir)/$(instname): make
-if $(install_setgid); then \
chgrp $(group) $@.new && chmod g+s $@.new; \
else true; fi
+# Some systems can't deal with renaming onto a running binary.
+ -rm -f $@.old
+ -mv $@ $@.old
mv $@.new $@
$(infodir)/$(instname).info: make.info