source: patches/coreutils-8.22-noman-1.patch@ 156c0fe

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 156c0fe was 4a17c2b, checked in by William Harrington <kb0iic@…>, 11 years ago

Do not generate man pages when cross compiling.

  • Property mode set to 100644
File size: 13.8 KB
  • coreutils-8.22

    Submitted By: William Harrington (kb0iic at cross-lfs dot org)
    Date: 2013-12-23
    Initial Package Version: 8.22
    Origin: Openbox 
    Upstream Status: Inapprorpiate
    Description: Keep man pages from being generated during cross compile.
    
    old new  
    1 # Makefile.in generated by automake 1.13.4 from Makefile.am.
     1# Makefile.in generated by automake 1.14 from Makefile.am.
    22# @configure_input@
    33
    44# Copyright (C) 1994-2013 Free Software Foundation, Inc.
     
    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-2013 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 
    9678
    9779
    9880VPATH = @srcdir@
     
    159141host_triplet = @host@
    160142DIST_COMMON = $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk \
    161143        $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk \
    162         $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk \
    163         $(top_srcdir)/tests/local.mk INSTALL NEWS README AUTHORS \
    164         ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
    165         $(top_srcdir)/configure $(am__configure_deps) \
    166         $(top_srcdir)/lib/config.hin ABOUT-NLS \
     144        $(top_srcdir)/doc/local.mk $(top_srcdir)/tests/local.mk \
     145        INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \
     146        $(srcdir)/Makefile.am $(top_srcdir)/configure \
     147        $(am__configure_deps) $(top_srcdir)/lib/config.hin ABOUT-NLS \
    167148        $(top_srcdir)/lib/alloca.c lib/parse-datetime.c \
    168149        $(top_srcdir)/build-aux/depcomp $(top_srcdir)/build-aux/ylwrap \
    169150        $(doc_coreutils_TEXINFOS) $(top_srcdir)/build-aux/mdate-sh \
     
    15071488EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
    15081489ERRNO_H = @ERRNO_H@
    15091490EXEEXT = @EXEEXT@
    1510 EXTRA_MANS = @EXTRA_MANS@
    15111491FLOAT_H = @FLOAT_H@
    15121492FNMATCH_H = @FNMATCH_H@
    15131493GETADDRINFO_LIB = @GETADDRINFO_LIB@
     
    27492729lispdir = @lispdir@
    27502730localedir = @localedir@
    27512731localstatedir = @localstatedir@
    2752 man1_MANS = @man1_MANS@
    27532732mandir = @mandir@
    27542733mkdir_p = @mkdir_p@
    27552734oldincludedir = @oldincludedir@
     
    29652944        lib/xstrtol.h lib/xstrtod.c lib/xstrtod.h lib/xalloc.h \
    29662945        lib/yesno.h src/dcgen src/dircolors.hin src/primes.h \
    29672946        src/tac-pipe.c src/extract-magic src/c99-to-c89.diff \
    2968         man/help2man man/dummy-man $(man1_MANS:.1=.x) \
    2969         $(EXTRA_MANS:.1=.x) $(all_tests) init.cfg tests/Coreutils.pm \
    2970         tests/CuSkip.pm tests/CuTmpdir.pm tests/d_type-check \
    2971         tests/envvar-check tests/factor/run.sh \
    2972         tests/factor/create-test.sh tests/filefrag-extent-compare \
    2973         tests/fiemap-capable tests/init.sh tests/lang-default \
    2974         tests/no-perl tests/other-fs-tmpdir tests/sample-test \
    2975         $(pr_data)
     2947        $(all_tests) init.cfg tests/Coreutils.pm tests/CuSkip.pm \
     2948        tests/CuTmpdir.pm tests/d_type-check tests/envvar-check \
     2949        tests/factor/run.sh tests/factor/create-test.sh \
     2950        tests/filefrag-extent-compare tests/fiemap-capable \
     2951        tests/init.sh tests/lang-default tests/no-perl \
     2952        tests/other-fs-tmpdir tests/sample-test $(pr_data)
    29762953gen_progs_lists = $(top_srcdir)/build-aux/gen-lists-of-programs.sh
    29772954ACLOCAL_AMFLAGS = -I m4
    29782955
    29792956# Just prior to distribution, ...
    2980 # transform the automake-generated rule that runs 'rm -f rm > /dev/null 2>&1 || /bin/rm -f rm'.
     2957# transform the automake-generated rule that runs 'rm -f rm'.
    29812958# On some systems, that command would fail with a diagnostic like
    29822959# "rm: cannot unlink 'rm': Text file busy" when '.' appears so early
    29832960# in the shell's search path that running 'rm' would run the 'rm'
     
    30833060CLEANFILES = lib/configmake.h lib/configmake.h-t lib/charset.alias \
    30843061        lib/ref-add.sed lib/ref-del.sed $(SCRIPTS) \
    30853062        $(no_install__progs) src/fs-def src/fs-magic \
    3086         src/fs-kernel-magic $(ALL_MANS) $(factor_tests)
     3063        src/fs-kernel-magic $(factor_tests)
    30873064MOSTLYCLEANDIRS = lib/arpa lib/netinet lib/selinux lib/sys lib/sys \
    30883065        lib/sys lib/sys lib/sys lib/sys lib/sys lib/sys
    30893066AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src
     
    36063583     }                          \
    36073584   END {$$m and (warn "$@: do not use upper case in \@var{...}\n"), exit 1}'
    36083585
    3609 @HAVE_PERL_FALSE@run_help2man = $(SHELL) $(srcdir)/man/dummy-man
    3610 @HAVE_PERL_TRUE@run_help2man = $(PERL) -- $(srcdir)/man/help2man
    3611 ALL_MANS = $(man1_MANS) $(EXTRA_MANS)
    3612 
    3613 # Dependencies common to all man pages.  Updated below.
    3614 
    3615 # Depend on this to get version number changes.
    3616 
    3617 # This is required so that changes to e.g., emit_bug_reporting_address
    3618 # provoke regeneration of all the manpages.
    3619 mandeps = .version $(top_srcdir)/src/system.h
    36203586
    36213587# Indirections required so that we'll still be able to know the
    36223588# complete list of our tests even if the user overrides TESTS
     
    43964362        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    43974363
    43984364.SUFFIXES:
    4399 .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y
     4365.SUFFIXES: .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .xpl .xpl$(EXEEXT) .y
    44004366am--refresh: Makefile
    44014367        @:
    4402 $(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)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk $(am__configure_deps)
     4368$(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)/doc/local.mk $(top_srcdir)/tests/local.mk $(am__configure_deps)
    44034369        @for dep in $?; do \
    44044370          case '$(am__configure_deps)' in \
    44054371            *$$dep*) \
     
    44224388            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    44234389            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    44244390        esac;
    4425 $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk:
     4391$(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/tests/local.mk:
    44264392
    44274393$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    44284394        $(SHELL) ./config.status --recheck
     
    44344400$(am__aclocal_m4_deps):
    44354401
    44364402lib/config.h: lib/stamp-h1
    4437         @if test ! -f $@; then rm -f lib/stamp-h1; else :; fi
    4438         @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) lib/stamp-h1; else :; fi
     4403        @test -f $@ || rm -f lib/stamp-h1
     4404        @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) lib/stamp-h1
    44394405
    44404406lib/stamp-h1: $(top_srcdir)/lib/config.hin $(top_builddir)/config.status
    44414407        @rm -f lib/stamp-h1
     
    52925258        cd "$(DESTDIR)$(bindir)" && rm -f $$files
    52935259
    52945260clean-binPROGRAMS:
    5295         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
     5261        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
    52965262
    52975263clean-noinstPROGRAMS:
    52985264        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     
    67476713        $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc \
    67486714         -o $(@:.html=.htp) `test -f 'doc/coreutils.texi' || echo '$(srcdir)/'`doc/coreutils.texi; \
    67496715        then \
    6750           rm -rf $@; \
    6751           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
    6752             mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
     6716          rm -rf $@ && mv $(@:.html=.htp) $@; \
    67536717        else \
    6754           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
    6755             rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
    6756           exit 1; \
     6718          rm -rf $(@:.html=.htp); exit 1; \
    67576719        fi
    67586720$(srcdir)/doc/version.texi:  $(srcdir)/doc/stamp-vti
    67596721$(srcdir)/doc/stamp-vti: doc/coreutils.texi $(top_srcdir)/configure
    6760         test -f doc/$(am__dirstamp) || $(MAKE) $(AM_MAKEFLAGS) doc/$(am__dirstamp)
     6722        @test -f doc/$(am__dirstamp) || $(MAKE) $(AM_MAKEFLAGS) doc/$(am__dirstamp)
    67616723        @(dir=.; test -f ./doc/coreutils.texi || dir=$(srcdir); \
    67626724        set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/doc/coreutils.texi`; \
    67636725        echo "@set UPDATED $$1 $$2 $$3"; \
     
    72857247        $(am__post_remove_distdir)
    72867248
    72877249dist-tarZ: distdir
     7250        @echo WARNING: "Support for shar distribution archives is" \
     7251                       "deprecated." >&2
     7252        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    72887253        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
    72897254        $(am__post_remove_distdir)
    72907255
    72917256dist-shar: distdir
     7257        @echo WARNING: "Support for distribution archives compressed with" \
     7258                       "legacy program 'compress' is deprecated." >&2
     7259        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    72927260        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
    72937261        $(am__post_remove_distdir)
    72947262
     
    98389806          $(PERL) -lne $(find_upper_case_var) $(texi_files)
    98399807
    98409808check-local: check-texinfo
    9841 
    9842 # This is required because we have subtle inter-directory dependencies:
    9843 # in order to generate all man pages, even those for which we don't
    9844 # install a binary, require that all programs be built at distribution
    9845 # time.  We can't use 'dist-hook' for this, since it would run too late:
    9846 # the manpages must be generated before the distdir is created and filled.
    9847 $(EXTRA_MANS): $(all_programs)
    9848 
    9849 # This is a kludge to remove generated 'man/*.1' from a non-srcdir build.
    9850 # Without this, "make distcheck" might fail.
    9851 distclean-local:
    9852         test x$(srcdir) = x$(builddir) || rm -f $(ALL_MANS)
    9853 
    9854 $(ALL_MANS): $(mandeps)
    9855 
    9856 # Most prog.1 man pages depend on src/prog.  List the exceptions:
    9857 # Note that dir and vdir are exceptions only if you consider the name
    9858 # of the .c file upon which they depend: ls.c.
    9859 man/arch.1:      src/uname
    9860 man/dir.1:       src/dir
    9861 man/install.1:   src/ginstall
    9862 man/vdir.1:      src/vdir
    9863 
    9864 man/base64.1:    src/base64
    9865 man/basename.1:  src/basename
    9866 man/cat.1:       src/cat
    9867 man/chcon.1:     src/chcon
    9868 man/chgrp.1:     src/chgrp
    9869 man/chmod.1:     src/chmod
    9870 man/chown.1:     src/chown
    9871 man/chroot.1:    src/chroot
    9872 man/cksum.1:     src/cksum
    9873 man/comm.1:      src/comm
    9874 man/cp.1:        src/cp
    9875 man/csplit.1:    src/csplit
    9876 man/cut.1:       src/cut
    9877 man/date.1:      src/date
    9878 man/dd.1:        src/dd
    9879 man/df.1:        src/df
    9880 man/dircolors.1: src/dircolors
    9881 man/dirname.1:   src/dirname
    9882 man/du.1:        src/du
    9883 man/echo.1:      src/echo
    9884 man/env.1:       src/env
    9885 man/expand.1:    src/expand
    9886 man/expr.1:      src/expr
    9887 man/factor.1:    src/factor
    9888 man/false.1:     src/false
    9889 man/fmt.1:       src/fmt
    9890 man/fold.1:      src/fold
    9891 man/groups.1:    src/groups
    9892 man/head.1:      src/head
    9893 man/hostid.1:    src/hostid
    9894 man/hostname.1:  src/hostname
    9895 man/id.1:        src/id
    9896 man/join.1:      src/join
    9897 man/kill.1:      src/kill
    9898 man/link.1:      src/link
    9899 man/ln.1:        src/ln
    9900 man/logname.1:   src/logname
    9901 man/ls.1:        src/ls
    9902 man/md5sum.1:    src/md5sum
    9903 man/mkdir.1:     src/mkdir
    9904 man/mkfifo.1:    src/mkfifo
    9905 man/mknod.1:     src/mknod
    9906 man/mktemp.1:    src/mktemp
    9907 man/mv.1:        src/mv
    9908 man/nice.1:      src/nice
    9909 man/nl.1:        src/nl
    9910 man/nohup.1:     src/nohup
    9911 man/nproc.1:     src/nproc
    9912 man/numfmt.1:    src/numfmt
    9913 man/od.1:        src/od
    9914 man/paste.1:     src/paste
    9915 man/pathchk.1:   src/pathchk
    9916 man/pinky.1:     src/pinky
    9917 man/pr.1:        src/pr
    9918 man/printenv.1:  src/printenv
    9919 man/printf.1:    src/printf
    9920 man/ptx.1:       src/ptx
    9921 man/pwd.1:       src/pwd
    9922 man/readlink.1:  src/readlink
    9923 man/realpath.1:  src/realpath
    9924 man/rm.1:        src/rm
    9925 man/rmdir.1:     src/rmdir
    9926 man/runcon.1:    src/runcon
    9927 man/seq.1:       src/seq
    9928 man/sha1sum.1:   src/sha1sum
    9929 man/sha224sum.1: src/sha224sum
    9930 man/sha256sum.1: src/sha256sum
    9931 man/sha384sum.1: src/sha384sum
    9932 man/sha512sum.1: src/sha512sum
    9933 man/shred.1:     src/shred
    9934 man/shuf.1:      src/shuf
    9935 man/sleep.1:     src/sleep
    9936 man/sort.1:      src/sort
    9937 man/split.1:     src/split
    9938 man/stat.1:      src/stat
    9939 man/stdbuf.1:    src/stdbuf
    9940 man/stty.1:      src/stty
    9941 man/sum.1:       src/sum
    9942 man/sync.1:      src/sync
    9943 man/tac.1:       src/tac
    9944 man/tail.1:      src/tail
    9945 man/tee.1:       src/tee
    9946 man/test.1:      src/test
    9947 man/timeout.1:   src/timeout
    9948 man/touch.1:     src/touch
    9949 man/tr.1:        src/tr
    9950 man/true.1:      src/true
    9951 man/truncate.1:  src/truncate
    9952 man/tsort.1:     src/tsort
    9953 man/tty.1:       src/tty
    9954 man/uname.1:     src/uname
    9955 man/unexpand.1:  src/unexpand
    9956 man/uniq.1:      src/uniq
    9957 man/unlink.1:    src/unlink
    9958 man/uptime.1:    src/uptime
    9959 man/users.1:     src/users
    9960 man/wc.1:        src/wc
    9961 man/who.1:       src/who
    9962 man/whoami.1:    src/whoami
    9963 man/yes.1:       src/yes
    9964 
    9965 .x.1:
    9966         $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \
    9967         case $$name in                                                  \
    9968           install) prog='ginstall';;                                    \
    9969              test) prog='[';;                                           \
    9970                 *) prog=$$name;;                                        \
    9971         esac;                                                           \
    9972         rm -f $@ $@-t                                                   \
    9973           && t=$*.td                                                    \
    9974           && rm -rf $$t                                                 \
    9975           && $(MKDIR_P) $$t                                             \
    9976           && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog $$name) \
    9977           && $(run_help2man)                                            \
    9978                      --source='$(PACKAGE_STRING)'                       \
    9979                      --include=$(srcdir)/man/$$name.x                   \
    9980                      --output=$$t/$$name.1 $$t/$$name                   \
    9981                      --info-page='coreutils \(aq'$$name' invocation\(aq' \
    9982           && sed \
    9983                -e 's|$*\.td/||g' \
    9984                -e '/For complete documentation/d' \
    9985                $$t/$$name.1 > $@-t                      \
    9986           && rm -rf $$t                                                 \
    9987           && chmod a-w $@-t                                             \
    9988           && mv $@-t $@
    99899809.PHONY: check-root
    99909810check-root:
    99919811        $(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
Note: See TracBrowser for help on using the repository browser.