[73b6a993] | 1 | Submitted By: William Harrington (kb0iic at cross-lfs dot org)
|
---|
| 2 | Date: 2014-10-30
|
---|
| 3 | Initial Package Version: 8.22
|
---|
| 4 | Origin: Openbox
|
---|
| 5 | Upstream Status: Inapprorpiate
|
---|
| 6 | Description: Keep man pages from being generated during cross compile.
|
---|
| 7 |
|
---|
| 8 | diff -Naur coreutils-8.23.orig/Makefile.in coreutils-8.23/Makefile.in
|
---|
| 9 | --- coreutils-8.23.orig/Makefile.in 2014-08-14 20:32:59.291203870 +0100
|
---|
| 10 | +++ coreutils-8.23/Makefile.in 2014-08-14 20:50:29.969203839 +0100
|
---|
| 11 | @@ -75,26 +75,6 @@
|
---|
| 12 | # You should have received a copy of the GNU General Public License
|
---|
| 13 | # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 14 |
|
---|
| 15 | -# Make coreutils man pages. -*-Makefile-*-
|
---|
| 16 | -# This is included by the top-level Makefile.am.
|
---|
| 17 | -
|
---|
| 18 | -# Copyright (C) 2002-2014 Free Software Foundation, Inc.
|
---|
| 19 | -
|
---|
| 20 | -# This program is free software: you can redistribute it and/or modify
|
---|
| 21 | -# it under the terms of the GNU General Public License as published by
|
---|
| 22 | -# the Free Software Foundation, either version 3 of the License, or
|
---|
| 23 | -# (at your option) any later version.
|
---|
| 24 | -
|
---|
| 25 | -# This program is distributed in the hope that it will be useful,
|
---|
| 26 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 27 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 28 | -# GNU General Public License for more details.
|
---|
| 29 | -
|
---|
| 30 | -# You should have received a copy of the GNU General Public License
|
---|
| 31 | -# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 32 | -
|
---|
| 33 | -
|
---|
| 34 | -
|
---|
| 35 | VPATH = @srcdir@
|
---|
| 36 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
|
---|
| 37 | am__make_running_with_option = \
|
---|
| 38 | @@ -160,7 +140,7 @@
|
---|
| 39 | DIST_COMMON = $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk \
|
---|
| 40 | $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk \
|
---|
| 41 | $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk \
|
---|
| 42 | - $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk \
|
---|
| 43 | + $(top_srcdir)/tests/local.mk \
|
---|
| 44 | INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \
|
---|
| 45 | $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
---|
| 46 | $(am__configure_deps) $(top_srcdir)/lib/config.hin ABOUT-NLS \
|
---|
| 47 | @@ -2606,7 +2586,6 @@
|
---|
| 48 | EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
|
---|
| 49 | ERRNO_H = @ERRNO_H@
|
---|
| 50 | EXEEXT = @EXEEXT@
|
---|
| 51 | -EXTRA_MANS = @EXTRA_MANS@
|
---|
| 52 | FLOAT_H = @FLOAT_H@
|
---|
| 53 | FNMATCH_H = @FNMATCH_H@
|
---|
| 54 | GETADDRINFO_LIB = @GETADDRINFO_LIB@
|
---|
| 55 | @@ -3820,7 +3799,6 @@
|
---|
| 56 | lispdir = @lispdir@
|
---|
| 57 | localedir = @localedir@
|
---|
| 58 | localstatedir = @localstatedir@
|
---|
| 59 | -man1_MANS = @man1_MANS@
|
---|
| 60 | mandir = @mandir@
|
---|
| 61 | mkdir_p = @mkdir_p@
|
---|
| 62 | oldincludedir = @oldincludedir@
|
---|
| 63 | @@ -4023,8 +4001,7 @@
|
---|
| 64 | lib/xnanosleep.h lib/xreadlink.h lib/xstrtod.h lib/xstrtol.h \
|
---|
| 65 | lib/xstrtod.c lib/xstrtod.h lib/xalloc.h lib/yesno.h src/dcgen \
|
---|
| 66 | src/dircolors.hin src/primes.h src/tac-pipe.c \
|
---|
| 67 | - src/extract-magic src/c99-to-c89.diff man/help2man \
|
---|
| 68 | - man/dummy-man $(man1_MANS:.1=.x) $(EXTRA_MANS:.1=.x) \
|
---|
| 69 | + src/extract-magic src/c99-to-c89.diff \
|
---|
| 70 | $(all_tests) init.cfg tests/Coreutils.pm tests/CuSkip.pm \
|
---|
| 71 | tests/CuTmpdir.pm tests/d_type-check tests/envvar-check \
|
---|
| 72 | tests/factor/run.sh tests/factor/create-test.sh \
|
---|
| 73 | @@ -4036,7 +4013,7 @@
|
---|
| 74 | ACLOCAL_AMFLAGS = -I m4
|
---|
| 75 |
|
---|
| 76 | # Just prior to distribution, ...
|
---|
| 77 | -# transform the automake-generated rule that runs 'rm -f rm > /dev/null 2>&1 || /bin/rm -f rm'.
|
---|
| 78 | +# transform the automake-generated rule that runs 'rm -f rm'.
|
---|
| 79 | # On some systems, that command would fail with a diagnostic like
|
---|
| 80 | # "rm: cannot unlink 'rm': Text file busy" when '.' appears so early
|
---|
| 81 | # in the shell's search path that running 'rm' would run the 'rm'
|
---|
| 82 | @@ -4154,7 +4131,7 @@
|
---|
| 83 | lib/ref-add.sed lib/ref-del.sed $(SCRIPTS) \
|
---|
| 84 | $(no_install__progs) src/coreutils_symlinks \
|
---|
| 85 | src/coreutils_shebangs src/fs-def src/fs-magic \
|
---|
| 86 | - src/fs-kernel-magic $(ALL_MANS) $(factor_tests)
|
---|
| 87 | + src/fs-kernel-magic $(factor_tests)
|
---|
| 88 | MOSTLYCLEANDIRS = lib/arpa lib/netinet lib/selinux lib/sys lib/sys \
|
---|
| 89 | lib/sys lib/sys lib/sys lib/sys lib/sys lib/sys
|
---|
| 90 | AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src
|
---|
| 91 | @@ -4962,18 +4939,6 @@
|
---|
| 92 | } \
|
---|
| 93 | END {$$m and (warn "$@: do not use upper case in \@var{...}\n"), exit 1}'
|
---|
| 94 |
|
---|
| 95 | -@HAVE_PERL_FALSE@run_help2man = $(SHELL) $(srcdir)/man/dummy-man
|
---|
| 96 | -@HAVE_PERL_TRUE@run_help2man = $(PERL) -- $(srcdir)/man/help2man
|
---|
| 97 | -ALL_MANS = $(man1_MANS) $(EXTRA_MANS)
|
---|
| 98 | -
|
---|
| 99 | -# Dependencies common to all man pages. Updated below.
|
---|
| 100 | -
|
---|
| 101 | -# Depend on this to get version number changes.
|
---|
| 102 | -
|
---|
| 103 | -# This is required so that changes to e.g., emit_bug_reporting_address
|
---|
| 104 | -# provoke regeneration of all the manpages.
|
---|
| 105 | -mandeps = .version $(top_srcdir)/src/system.h
|
---|
| 106 | -
|
---|
| 107 | # Indirections required so that we'll still be able to know the
|
---|
| 108 | # complete list of our tests even if the user overrides TESTS
|
---|
| 109 | # from the command line (as permitted by the test harness API).
|
---|
| 110 | @@ -5764,10 +5729,10 @@
|
---|
| 111 | $(MAKE) $(AM_MAKEFLAGS) all-recursive
|
---|
| 112 |
|
---|
| 113 | .SUFFIXES:
|
---|
| 114 | -.SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y
|
---|
| 115 | +.SUFFIXES: .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y
|
---|
| 116 | am--refresh: Makefile
|
---|
| 117 | @:
|
---|
| 118 | -$(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)
|
---|
| 119 | +$(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)
|
---|
| 120 | @for dep in $?; do \
|
---|
| 121 | case '$(am__configure_deps)' in \
|
---|
| 122 | *$$dep*) \
|
---|
| 123 | @@ -5790,7 +5755,7 @@
|
---|
| 124 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
---|
| 125 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
---|
| 126 | esac;
|
---|
| 127 | -$(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:
|
---|
| 128 | +$(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:
|
---|
| 129 |
|
---|
| 130 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
---|
| 131 | $(SHELL) ./config.status --recheck
|
---|
| 132 | @@ -7421,7 +7386,7 @@
|
---|
| 133 | cd "$(DESTDIR)$(bindir)" && rm -f $$files
|
---|
| 134 |
|
---|
| 135 | clean-binPROGRAMS:
|
---|
| 136 | - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
|
---|
| 137 | + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
---|
| 138 |
|
---|
| 139 | clean-noinstPROGRAMS:
|
---|
| 140 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
---|
| 141 | @@ -14033,58 +13998,6 @@
|
---|
| 142 |
|
---|
| 143 | check-local: check-texinfo
|
---|
| 144 |
|
---|
| 145 | -# This is a kludge to remove generated 'man/*.1' from a non-srcdir build.
|
---|
| 146 | -# Without this, "make distcheck" might fail.
|
---|
| 147 | -distclean-local:
|
---|
| 148 | - test x$(srcdir) = x$(builddir) || rm -f $(ALL_MANS)
|
---|
| 149 | -
|
---|
| 150 | -$(ALL_MANS): $(mandeps)
|
---|
| 151 | -man/dynamic-deps.mk: Makefile
|
---|
| 152 | - $(AM_V_GEN)rm -f $@ $@-t
|
---|
| 153 | - $(AM_V_at)for man in $(ALL_MANS); do \
|
---|
| 154 | - name=`echo "$$man"|sed 's|.*/||; s|\.1$$||'` || exit 1; \
|
---|
| 155 | - case $$name in \
|
---|
| 156 | - arch) prog='uname';; \
|
---|
| 157 | - install) prog='ginstall';; \
|
---|
| 158 | - test) prog='[';; \
|
---|
| 159 | - *) prog=$$name;; \
|
---|
| 160 | - esac; \
|
---|
| 161 | - case " $(single_binary_progs) " in \
|
---|
| 162 | - *" $$prog "*) \
|
---|
| 163 | - echo $$man: src/coreutils$(EXEEXT);; \
|
---|
| 164 | - *) \
|
---|
| 165 | - echo $$man: src/$$prog$(EXEEXT);; \
|
---|
| 166 | - esac \
|
---|
| 167 | - done > $@-t \
|
---|
| 168 | - && mv $@-t $@
|
---|
| 169 | -
|
---|
| 170 | -# Include the generated man dependencies.
|
---|
| 171 | -@AMDEP_TRUE@@am__include@ man/dynamic-deps.mk
|
---|
| 172 | -
|
---|
| 173 | -.x.1:
|
---|
| 174 | - $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \
|
---|
| 175 | - case $$name in \
|
---|
| 176 | - install) prog='ginstall'; argv=$$name;; \
|
---|
| 177 | - test) prog='['; argv='[';; \
|
---|
| 178 | - *) prog=$$name; argv=$$prog;; \
|
---|
| 179 | - esac; \
|
---|
| 180 | - rm -f $@ $@-t \
|
---|
| 181 | - && t=$*.td \
|
---|
| 182 | - && rm -rf $$t \
|
---|
| 183 | - && $(MKDIR_P) $$t \
|
---|
| 184 | - && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog $$argv) \
|
---|
| 185 | - && $(run_help2man) \
|
---|
| 186 | - --source='$(PACKAGE_STRING)' \
|
---|
| 187 | - --include=$(srcdir)/man/$$name.x \
|
---|
| 188 | - --output=$$t/$$name.1 $$t/$$argv \
|
---|
| 189 | - --info-page='coreutils \(aq'$$name' invocation\(aq' \
|
---|
| 190 | - && sed \
|
---|
| 191 | - -e 's|$*\.td/||g' \
|
---|
| 192 | - -e '/For complete documentation/d' \
|
---|
| 193 | - $$t/$$name.1 > $@-t \
|
---|
| 194 | - && rm -rf $$t \
|
---|
| 195 | - && chmod a-w $@-t \
|
---|
| 196 | - && mv $@-t $@
|
---|
| 197 | .PHONY: check-root
|
---|
| 198 | check-root:
|
---|
| 199 | $(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
|
---|