diff --git a/ChangeLog b/ChangeLog index 7b1ff7024d05925fdfed26aca5336cff8f14839f..76032de44b995b52327b2339500916bdd5879ae9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 24 19:23:36 1992 Per Cederqvist (ceder at robin) + + * (scripts/install-includes.make): Install include files without + read permisson, to prevent editing of the copies. + Sun Jan 5 19:05:31 1992 Per Cederqvist (ceder at lysator) * (INSTALL): Stronger warning about using -lresolv on SunOS 4.1.1. diff --git a/scripts/install-includes.make b/scripts/install-includes.make index 13a96c14b0e582080a860ebd4f5d5564eb9e4984..69437379efebc5ab4ec453a4eae4bac6aeeae258 100644 --- a/scripts/install-includes.make +++ b/scripts/install-includes.make @@ -1,5 +1,5 @@ # -# $Id: install-includes.make,v 1.2 1991/09/15 09:58:29 linus Exp $ +# $Id: install-includes.make,v 1.3 1992/01/24 18:29:27 ceder Exp $ # Copyright (C) 1991 Lysator Academic Computer Association. # # This file is part of the LysKOM server. @@ -27,5 +27,7 @@ includes: for i in $(INSTALL-HDRS);\ do \ ( cmp $$i $(INCLUDEDIR)/$$i 2>/dev/null ) \ - || cp $$i $(INCLUDEDIR)/$$i; \ + || ( $(RM) $(INCLUDEDIR)/$$i; \ + cp $$i $(INCLUDEDIR)/$$i; \ + chmod a-w $(INCLUDEDIR)/$$i ) \ done