From: Miroslav Lichvar Date: Wed, 22 Jul 2015 15:42:42 +0000 (+0200) Subject: makefile: install chrony.txt in install-doc only X-Git-Tag: 2.2-pre1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e694e08fc2c69daee0695cbe9f5f340a28c69c4;p=thirdparty%2Fchrony.git makefile: install chrony.txt in install-doc only Don't install chrony.txt in make install to avoid dependency on makeinfo since chrony.texi is prepared by configure to set the default paths in the documentation. --- diff --git a/Makefile.in b/Makefile.in index 85774872..1a6f1ac2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -92,15 +92,13 @@ getdate : # For install, don't use the install command, because its switches # seem to vary between systems. -install: chronyd chronyc chrony.txt +install: chronyd chronyc [ -d $(DESTDIR)$(SYSCONFDIR) ] || mkdir -p $(DESTDIR)$(SYSCONFDIR) [ -d $(DESTDIR)$(SBINDIR) ] || mkdir -p $(DESTDIR)$(SBINDIR) [ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR) - [ -d $(DESTDIR)$(DOCDIR) ] || mkdir -p $(DESTDIR)$(DOCDIR) [ -d $(DESTDIR)$(MANDIR)/man1 ] || mkdir -p $(DESTDIR)$(MANDIR)/man1 [ -d $(DESTDIR)$(MANDIR)/man5 ] || mkdir -p $(DESTDIR)$(MANDIR)/man5 [ -d $(DESTDIR)$(MANDIR)/man8 ] || mkdir -p $(DESTDIR)$(MANDIR)/man8 - [ -d $(DESTDIR)$(DOCDIR) ] || mkdir -p $(DESTDIR)$(DOCDIR) [ -d $(DESTDIR)$(CHRONYVARDIR) ] || mkdir -p $(DESTDIR)$(CHRONYVARDIR) if [ -f $(DESTDIR)$(SBINDIR)/chronyd ]; then rm -f $(DESTDIR)$(SBINDIR)/chronyd ; fi if [ -f $(DESTDIR)$(BINDIR)/chronyc ]; then rm -f $(DESTDIR)$(BINDIR)/chronyc ; fi @@ -108,8 +106,6 @@ install: chronyd chronyc chrony.txt chmod 755 $(DESTDIR)$(SBINDIR)/chronyd cp chronyc $(DESTDIR)$(BINDIR)/chronyc chmod 755 $(DESTDIR)$(BINDIR)/chronyc - cp chrony.txt $(DESTDIR)$(DOCDIR)/chrony.txt - chmod 644 $(DESTDIR)$(DOCDIR)/chrony.txt cp chronyc.1 $(DESTDIR)$(MANDIR)/man1 chmod 644 $(DESTDIR)$(MANDIR)/man1/chronyc.1 cp chronyd.8 $(DESTDIR)$(MANDIR)/man8 diff --git a/chrony.texi.in b/chrony.texi.in index 908ab956..fe08a01c 100644 --- a/chrony.texi.in +++ b/chrony.texi.in @@ -387,9 +387,10 @@ entered. make install @end example -This will install the binaries, plain text manual and manpages. +This will install the binaries and manpages. -To install the HTML and info versions of the manual as well, enter the command +To install the plain text, HTML and info versions of the manual, enter the +command @example make install-docs