]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
makefile: install chrony.txt in install-doc only
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 22 Jul 2015 15:42:42 +0000 (17:42 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 22 Jul 2015 15:42:42 +0000 (17:42 +0200)
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.

Makefile.in
chrony.texi.in

index 857748721cabb30ce6c30e6a93859222a463f51d..1a6f1ac24a7aba4da1cd9b5f7fba6101c2c00f2a 100644 (file)
@@ -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
index 908ab95606a0467b0888106b91efae7d8c5bd3b5..fe08a01cd710791dc41b14de8638809919694c6d 100644 (file)
@@ -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