Makefile.in (SOURCES): Add doc/lto-dump.1.
authorMatthias Klose <doko@gcc.gnu.org>
Tue, 3 Dec 2019 11:30:34 +0000 (11:30 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Tue, 3 Dec 2019 11:30:34 +0000 (11:30 +0000)
2019-12-03  Matthias Klose  <doko@ubuntu.com>

        * Makefile.in (SOURCES): Add doc/lto-dump.1.
        (install-man): Add $(LTO_DUMP_INSTALL_NAME)$(man1ext).
        ($(LTO_DUMP_INSTALL_NAME)$(man1ext): New.

From-SVN: r278933

gcc/ChangeLog
gcc/Makefile.in

index 7a5f5c2..9917ec2 100644 (file)
@@ -1,3 +1,9 @@
+2019-12-03  Matthias Klose  <doko@ubuntu.com>
+
+       * Makefile.in (SOURCES): Add doc/lto-dump.1.
+       (install-man): Add $(LTO_DUMP_INSTALL_NAME)$(man1ext).
+       ($(LTO_DUMP_INSTALL_NAME)$(man1ext): New.
+
 2019-12-03  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/92751
 
 2019-12-02  Bill Schmidt  <wschmidt@linux.ibm.com>
 
-        * config/rs6000/rs6000-call.c (rs6000_invalid_builtin): Make
-        static.
-        * config/rs6000/rs6000-internal.h (rs6000_invalid_builtin): Remove
-        decl.
+       * config/rs6000/rs6000-call.c (rs6000_invalid_builtin): Make
+       static.
+       * config/rs6000/rs6000-internal.h (rs6000_invalid_builtin): Remove
+       decl.
 
 2019-12-02  Richard Sandiford  <richard.sandiford@arm.com>
 
index 7d3c132..6b857bd 100644 (file)
@@ -3202,7 +3202,8 @@ TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi    \
         gcov.texi trouble.texi bugreport.texi service.texi             \
         contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi  \
         fdl.texi contrib.texi cppenv.texi cppopts.texi avr-mmcu.texi   \
-        implement-c.texi implement-cxx.texi gcov-tool.texi gcov-dump.texi lto-dump.texi
+        implement-c.texi implement-cxx.texi gcov-tool.texi gcov-dump.texi \
+        lto-dump.texi
 
 # we explicitly use $(srcdir)/doc/tm.texi here to avoid confusion with
 # the generated tm.texi; the latter might have a more recent timestamp,
@@ -3325,7 +3326,8 @@ $(build_htmldir)/gccinstall/index.html: $(TEXI_GCCINSTALL_FILES)
        $(SHELL) $(srcdir)/doc/install.texi2html
 
 MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 \
-           doc/fsf-funding.7 doc/gcov-tool.1 doc/gcov-dump.1
+           doc/fsf-funding.7 doc/gcov-tool.1 doc/gcov-dump.1 \
+          $(if $(filter yes,@enable_lto@),doc/lto-dump.1)
 
 generated-manpages: man
 
@@ -3722,6 +3724,7 @@ install-man: lang.install-man \
        $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \
        $(DESTDIR)$(man1dir)/$(GCOV_TOOL_INSTALL_NAME)$(man1ext) \
        $(DESTDIR)$(man1dir)/$(GCOV_DUMP_INSTALL_NAME)$(man1ext) \
+       $(if $(filter yes,@enable_lto@),$(DESTDIR)$(man1dir)/$(LTO_DUMP_INSTALL_NAME)$(man1ext)) \
        $(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \
        $(DESTDIR)$(man7dir)/gfdl$(man7ext) \
        $(DESTDIR)$(man7dir)/gpl$(man7ext)
@@ -3756,6 +3759,11 @@ $(DESTDIR)$(man1dir)/$(GCOV_DUMP_INSTALL_NAME)$(man1ext): doc/gcov-dump.1 instal
        -$(INSTALL_DATA) $< $@
        -chmod a-x $@
 
+$(DESTDIR)$(man1dir)/$(LTO_DUMP_INSTALL_NAME)$(man1ext): doc/lto-dump.1 installdirs
+       -rm -f $@
+       -$(INSTALL_DATA) $< $@
+       -chmod a-x $@
+
 # Install all the header files built in the include subdirectory.
 install-headers: $(INSTALL_HEADERS_DIR)
 # Fix symlinks to absolute paths in the installed include directory to