source: patches/coreutils-8.23-noman-1.patch@ fdb2795

sysvinit
Last change on this file since fdb2795 was 73b6a993, checked in by William Harrington <kb0iic@…>, 10 years ago

Add coreutils 8.23 noman patch for 8.23 version upgrade. Thanks to blackaddr from TRAC.

  • Property mode set to 100644
File size: 8.3 KB
  • coreutils-8.23

    Submitted By: William Harrington (kb0iic at cross-lfs dot org)
    Date: 2014-10-30
    Initial Package Version: 8.22
    Origin: Openbox 
    Upstream Status: Inapprorpiate
    Description: Keep man pages from being generated during cross compile.
    
    diff -Naur coreutils-8.23.orig/Makefile.in coreutils-8.23/Makefile.in
    old new  
    7575# You should have received a copy of the GNU General Public License
    7676# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    7777
    78 # Make coreutils man pages.                             -*-Makefile-*-
    79 # This is included by the top-level Makefile.am.
    80 
    81 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
    82 
    83 # This program is free software: you can redistribute it and/or modify
    84 # it under the terms of the GNU General Public License as published by
    85 # the Free Software Foundation, either version 3 of the License, or
    86 # (at your option) any later version.
    87 
    88 # This program is distributed in the hope that it will be useful,
    89 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    90 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    91 # GNU General Public License for more details.
    92 
    93 # You should have received a copy of the GNU General Public License
    94 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    95 
    96 
    97 
    9878VPATH = @srcdir@
    9979am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
    10080am__make_running_with_option = \
     
    160140DIST_COMMON = $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk \
    161141        $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk \
    162142        $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk \
    163         $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk \
     143        $(top_srcdir)/tests/local.mk \
    164144        INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \
    165145        $(srcdir)/Makefile.am $(top_srcdir)/configure \
    166146        $(am__configure_deps) $(top_srcdir)/lib/config.hin ABOUT-NLS \
     
    26062586EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
    26072587ERRNO_H = @ERRNO_H@
    26082588EXEEXT = @EXEEXT@
    2609 EXTRA_MANS = @EXTRA_MANS@
    26102589FLOAT_H = @FLOAT_H@
    26112590FNMATCH_H = @FNMATCH_H@
    26122591GETADDRINFO_LIB = @GETADDRINFO_LIB@
     
    38203799lispdir = @lispdir@
    38213800localedir = @localedir@
    38223801localstatedir = @localstatedir@
    3823 man1_MANS = @man1_MANS@
    38243802mandir = @mandir@
    38253803mkdir_p = @mkdir_p@
    38263804oldincludedir = @oldincludedir@
     
    40234001        lib/xnanosleep.h lib/xreadlink.h lib/xstrtod.h lib/xstrtol.h \
    40244002        lib/xstrtod.c lib/xstrtod.h lib/xalloc.h lib/yesno.h src/dcgen \
    40254003        src/dircolors.hin src/primes.h src/tac-pipe.c \
    4026         src/extract-magic src/c99-to-c89.diff man/help2man \
    4027         man/dummy-man $(man1_MANS:.1=.x) $(EXTRA_MANS:.1=.x) \
     4004        src/extract-magic src/c99-to-c89.diff \
    40284005        $(all_tests) init.cfg tests/Coreutils.pm tests/CuSkip.pm \
    40294006        tests/CuTmpdir.pm tests/d_type-check tests/envvar-check \
    40304007        tests/factor/run.sh tests/factor/create-test.sh \
     
    40364013ACLOCAL_AMFLAGS = -I m4
    40374014
    40384015# Just prior to distribution, ...
    4039 # transform the automake-generated rule that runs 'rm -f rm > /dev/null 2>&1 || /bin/rm -f rm'.
     4016# transform the automake-generated rule that runs 'rm -f rm'.
    40404017# On some systems, that command would fail with a diagnostic like
    40414018# "rm: cannot unlink 'rm': Text file busy" when '.' appears so early
    40424019# in the shell's search path that running 'rm' would run the 'rm'
     
    41544131        lib/ref-add.sed lib/ref-del.sed $(SCRIPTS) \
    41554132        $(no_install__progs) src/coreutils_symlinks \
    41564133        src/coreutils_shebangs src/fs-def src/fs-magic \
    4157         src/fs-kernel-magic $(ALL_MANS) $(factor_tests)
     4134        src/fs-kernel-magic $(factor_tests)
    41584135MOSTLYCLEANDIRS = lib/arpa lib/netinet lib/selinux lib/sys lib/sys \
    41594136        lib/sys lib/sys lib/sys lib/sys lib/sys lib/sys
    41604137AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src
     
    49624939     }                          \
    49634940   END {$$m and (warn "$@: do not use upper case in \@var{...}\n"), exit 1}'
    49644941
    4965 @HAVE_PERL_FALSE@run_help2man = $(SHELL) $(srcdir)/man/dummy-man
    4966 @HAVE_PERL_TRUE@run_help2man = $(PERL) -- $(srcdir)/man/help2man
    4967 ALL_MANS = $(man1_MANS) $(EXTRA_MANS)
    4968 
    4969 # Dependencies common to all man pages.  Updated below.
    4970 
    4971 # Depend on this to get version number changes.
    4972 
    4973 # This is required so that changes to e.g., emit_bug_reporting_address
    4974 # provoke regeneration of all the manpages.
    4975 mandeps = .version $(top_srcdir)/src/system.h
    4976 
    49774942# Indirections required so that we'll still be able to know the
    49784943# complete list of our tests even if the user overrides TESTS
    49794944# from the command line (as permitted by the test harness API).
     
    57645729        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    57655730
    57665731.SUFFIXES:
    5767 .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y
     5732.SUFFIXES: .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y
    57685733am--refresh: Makefile
    57695734        @:
    5770 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk $(am__configure_deps)
     5735$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/tests/local.mk $(am__configure_deps)
    57715736        @for dep in $?; do \
    57725737          case '$(am__configure_deps)' in \
    57735738            *$$dep*) \
     
    57905755            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    57915756            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    57925757        esac;
    5793 $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk:
     5758$(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/tests/local.mk:
    57945759
    57955760$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    57965761        $(SHELL) ./config.status --recheck
     
    74217386        cd "$(DESTDIR)$(bindir)" && rm -f $$files
    74227387
    74237388clean-binPROGRAMS:
    7424         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
     7389        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
    74257390
    74267391clean-noinstPROGRAMS:
    74277392        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     
    1403313998
    1403413999check-local: check-texinfo
    1403514000
    14036 # This is a kludge to remove generated 'man/*.1' from a non-srcdir build.
    14037 # Without this, "make distcheck" might fail.
    14038 distclean-local:
    14039         test x$(srcdir) = x$(builddir) || rm -f $(ALL_MANS)
    14040 
    14041 $(ALL_MANS): $(mandeps)
    14042 man/dynamic-deps.mk: Makefile
    14043         $(AM_V_GEN)rm -f $@ $@-t
    14044         $(AM_V_at)for man in $(ALL_MANS); do                            \
    14045                 name=`echo "$$man"|sed 's|.*/||; s|\.1$$||'` || exit 1; \
    14046                 case $$name in                                          \
    14047                      arch) prog='uname';;                               \
    14048                   install) prog='ginstall';;                            \
    14049                      test) prog='[';;                                   \
    14050                         *) prog=$$name;;                                \
    14051                 esac;                                                   \
    14052                 case " $(single_binary_progs) " in                      \
    14053                         *" $$prog "*)                                   \
    14054                                 echo $$man: src/coreutils$(EXEEXT);;    \
    14055                         *)                                              \
    14056                                 echo $$man: src/$$prog$(EXEEXT);;       \
    14057                 esac                                                    \
    14058         done > $@-t                                                     \
    14059         && mv $@-t $@
    14060 
    14061 # Include the generated man dependencies.
    14062 @AMDEP_TRUE@@am__include@ man/dynamic-deps.mk
    14063 
    14064 .x.1:
    14065         $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \
    14066         case $$name in                                                  \
    14067           install) prog='ginstall'; argv=$$name;;                       \
    14068              test) prog='['; argv='[';;                                 \
    14069                 *) prog=$$name; argv=$$prog;;                           \
    14070         esac;                                                           \
    14071         rm -f $@ $@-t                                                   \
    14072           && t=$*.td                                                    \
    14073           && rm -rf $$t                                                 \
    14074           && $(MKDIR_P) $$t                                             \
    14075           && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog $$argv) \
    14076           && $(run_help2man)                                            \
    14077                      --source='$(PACKAGE_STRING)'                       \
    14078                      --include=$(srcdir)/man/$$name.x                   \
    14079                      --output=$$t/$$name.1 $$t/$$argv                   \
    14080                      --info-page='coreutils \(aq'$$name' invocation\(aq' \
    14081           && sed \
    14082                -e 's|$*\.td/||g' \
    14083                -e '/For complete documentation/d' \
    14084                $$t/$$name.1 > $@-t                      \
    14085           && rm -rf $$t                                                 \
    14086           && chmod a-w $@-t                                             \
    14087           && mv $@-t $@
    1408814001.PHONY: check-root
    1408914002check-root:
    1409014003        $(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
Note: See TracBrowser for help on using the repository browser.