source:
patches/coreutils-8.23-noman-1.patch@
3accd6a
Last change on this file since 3accd6a was 73b6a993, checked in by , 10 years ago | |
---|---|
|
|
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 75 75 # You should have received a copy of the GNU General Public License 76 76 # along with this program. If not, see <http://www.gnu.org/licenses/>. 77 77 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 modify84 # it under the terms of the GNU General Public License as published by85 # the Free Software Foundation, either version 3 of the License, or86 # (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 of90 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the91 # GNU General Public License for more details.92 93 # You should have received a copy of the GNU General Public License94 # along with this program. If not, see <http://www.gnu.org/licenses/>.95 96 97 98 78 VPATH = @srcdir@ 99 79 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' 100 80 am__make_running_with_option = \ … … 160 140 DIST_COMMON = $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk \ 161 141 $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk \ 162 142 $(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 \ 164 144 INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \ 165 145 $(srcdir)/Makefile.am $(top_srcdir)/configure \ 166 146 $(am__configure_deps) $(top_srcdir)/lib/config.hin ABOUT-NLS \ … … 2606 2586 EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ 2607 2587 ERRNO_H = @ERRNO_H@ 2608 2588 EXEEXT = @EXEEXT@ 2609 EXTRA_MANS = @EXTRA_MANS@2610 2589 FLOAT_H = @FLOAT_H@ 2611 2590 FNMATCH_H = @FNMATCH_H@ 2612 2591 GETADDRINFO_LIB = @GETADDRINFO_LIB@ … … 3820 3799 lispdir = @lispdir@ 3821 3800 localedir = @localedir@ 3822 3801 localstatedir = @localstatedir@ 3823 man1_MANS = @man1_MANS@3824 3802 mandir = @mandir@ 3825 3803 mkdir_p = @mkdir_p@ 3826 3804 oldincludedir = @oldincludedir@ … … 4023 4001 lib/xnanosleep.h lib/xreadlink.h lib/xstrtod.h lib/xstrtol.h \ 4024 4002 lib/xstrtod.c lib/xstrtod.h lib/xalloc.h lib/yesno.h src/dcgen \ 4025 4003 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 \ 4028 4005 $(all_tests) init.cfg tests/Coreutils.pm tests/CuSkip.pm \ 4029 4006 tests/CuTmpdir.pm tests/d_type-check tests/envvar-check \ 4030 4007 tests/factor/run.sh tests/factor/create-test.sh \ … … 4036 4013 ACLOCAL_AMFLAGS = -I m4 4037 4014 4038 4015 # 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'. 4040 4017 # On some systems, that command would fail with a diagnostic like 4041 4018 # "rm: cannot unlink 'rm': Text file busy" when '.' appears so early 4042 4019 # in the shell's search path that running 'rm' would run the 'rm' … … 4154 4131 lib/ref-add.sed lib/ref-del.sed $(SCRIPTS) \ 4155 4132 $(no_install__progs) src/coreutils_symlinks \ 4156 4133 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) 4158 4135 MOSTLYCLEANDIRS = lib/arpa lib/netinet lib/selinux lib/sys lib/sys \ 4159 4136 lib/sys lib/sys lib/sys lib/sys lib/sys lib/sys 4160 4137 AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src … … 4962 4939 } \ 4963 4940 END {$$m and (warn "$@: do not use upper case in \@var{...}\n"), exit 1}' 4964 4941 4965 @HAVE_PERL_FALSE@run_help2man = $(SHELL) $(srcdir)/man/dummy-man4966 @HAVE_PERL_TRUE@run_help2man = $(PERL) -- $(srcdir)/man/help2man4967 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_address4974 # provoke regeneration of all the manpages.4975 mandeps = .version $(top_srcdir)/src/system.h4976 4977 4942 # Indirections required so that we'll still be able to know the 4978 4943 # complete list of our tests even if the user overrides TESTS 4979 4944 # from the command line (as permitted by the test harness API). … … 5764 5729 $(MAKE) $(AM_MAKEFLAGS) all-recursive 5765 5730 5766 5731 .SUFFIXES: 5767 .SUFFIXES: . 1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y5732 .SUFFIXES: .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y 5768 5733 am--refresh: Makefile 5769 5734 @: 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) 5771 5736 @for dep in $?; do \ 5772 5737 case '$(am__configure_deps)' in \ 5773 5738 *$$dep*) \ … … 5790 5755 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 5791 5756 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 5792 5757 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: 5794 5759 5795 5760 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 5796 5761 $(SHELL) ./config.status --recheck … … 7421 7386 cd "$(DESTDIR)$(bindir)" && rm -f $$files 7422 7387 7423 7388 clean-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) 7425 7390 7426 7391 clean-noinstPROGRAMS: 7427 7392 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) … … 14033 13998 14034 13999 check-local: check-texinfo 14035 14000 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: Makefile14043 $(AM_V_GEN)rm -f $@ $@-t14044 $(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.mk14063 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 $@14088 14001 .PHONY: check-root 14089 14002 check-root: 14090 14003 $(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
Note:
See TracBrowser
for help on using the repository browser.