From 7812181e7457f1035e619ad5a13815346aeced9d Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 19 Sep 2003 22:48:26 +0000 Subject: [PATCH] Fix install rule if chronyd file is busy (Juliusz Chroboczek) --- Makefile.in | 4 +++- NEWS | 1 + README | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0a91caf..23cf65b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,6 @@ ################################################## # -# $Header: /cvs/src/chrony/Makefile.in,v 1.47 2003/04/07 21:43:54 richard Exp $ +# $Header: /cvs/src/chrony/Makefile.in,v 1.48 2003/09/19 22:48:26 richard Exp $ # # ======================================================================= # @@ -101,6 +101,8 @@ install: chronyd chronyc [ -d $(DESTDIR)$(MANDIR)/man5 ] || mkdir -p $(DESTDIR)$(MANDIR)/man5 [ -d $(DESTDIR)$(MANDIR)/man8 ] || mkdir -p $(DESTDIR)$(MANDIR)/man8 [ -d $(DESTDIR)$(INSTALL_PREFIX)/doc/chrony ] || mkdir -p $(DESTDIR)$(INSTALL_PREFIX)/doc/chrony + if [ -f $(DESTDIR)$(INSTALL_PREFIX)/sbin/chronyd ]; then rm -f $(DESTDIR)$(INSTALL_PREFIX)/sbin/chronyd ; fi + if [ -f $(DESTDIR)$(INSTALL_PREFIX)/bin/chronyc ]; then rm -f $(DESTDIR)$(INSTALL_PREFIX)/bin/chronyc ; fi cp chronyd $(DESTDIR)$(INSTALL_PREFIX)/sbin/chronyd chmod 555 $(DESTDIR)$(INSTALL_PREFIX)/sbin/chronyd cp chronyc $(DESTDIR)$(INSTALL_PREFIX)/bin/chronyc diff --git a/NEWS b/NEWS index 6903ab6..bece7d2 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,7 @@ New in version 1.20 * Allow arbitrary value of HZ in Linux kernel * Fix for chrony.spec on SuSE (Paul Elliot) * Fix handling of initstepslew if no servers are listed (John Hasler) +* Fix install rule in Makefile if chronyd is in use (Juliusz Chroboczek) New in version 1.19 =================== diff --git a/README b/README index 565f954..7988fd9 100644 --- a/README +++ b/README @@ -171,6 +171,9 @@ Stephan I. Boettcher Erik Bryer Entries in contrib directory +Juliusz Chroboczek + Fix install rule in Makefile if chronyd file is in use. + Paul Elliott DNSchrony (in contrib directory), a tool for handling NTP servers with variable IP addresses. @@ -239,6 +242,6 @@ sorry I can't identify all of you individually. Version control information =========================== -$Header: /cvs/src/chrony/README,v 1.28 2003/09/19 22:44:06 richard Exp $ +$Header: /cvs/src/chrony/README,v 1.29 2003/09/19 22:48:26 richard Exp $ vim:tw=72