From dae2877c9ec505d9ed260f824bd43da78bba8e06 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 15 Nov 1994 06:55:45 +0000 Subject: [PATCH] (divrem rule): Make the output unwritable, use mv -f. --- sysdeps/alpha/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 5490776da66..4ea38941cc9 100644 --- a/sysdeps/alpha/Makefile +++ b/sysdeps/alpha/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993 Free Software Foundation, Inc. +# Copyright (C) 1993, 1994 Free Software Foundation, Inc. # Contributed by Brendan Kehoe (brendan@zen.org). # The GNU C Library is free software; you can redistribute it and/or @@ -88,4 +88,6 @@ $(divrem:%=$(sysdep_dir)/alpha/%.S): $(sysdep_dir)/alpha/divrem.m4 $(sysdep_dir) define(SYSDEP_DIR, \`$(sysdep_dir)/alpha')\ /* This file is generated from divrem.m4; DO NOT EDIT! */"; \ cat $<) | $(M4) > $@-tmp - mv $@-tmp $@ +# Make it unwritable so noone will edit it by mistake. + -chmod a-w $@-tmp + mv -f $@-tmp $@ -- 2.47.3