Commit | Line | Data |
---|---|---|
fb8471fb FF |
1 | diff -u -r ../coreutils-8.26/Makefile.in ./Makefile.in |
2 | --- ../coreutils-8.26/Makefile.in 2016-11-30 13:34:55.000000000 -0500 | |
3 | +++ ./Makefile.in 2016-11-30 19:10:09.902334174 -0500 | |
4 | @@ -5023,7 +5023,9 @@ | |
5 | @CROSS_COMPILING_FALSE@cu_install_program = src/ginstall | |
6 | ||
7 | # Use the just-built 'ginstall', when not cross-compiling. | |
8 | -@CROSS_COMPILING_TRUE@cu_install_program = @INSTALL_PROGRAM@ | |
9 | +# Work around | |
10 | +# "Makefile:3440: *** Recursive variable 'INSTALL' references itself (eventually). Stop." | |
11 | +@CROSS_COMPILING_TRUE@cu_install_program = install | |
12 | info_TEXINFOS = doc/coreutils.texi | |
13 | doc_coreutils_TEXINFOS = \ | |
14 | doc/perm.texi \ | |
15 | @@ -14622,32 +14624,8 @@ | |
bc82430b | 16 | @SINGLE_BINARY_FALSE@man/yes.1: src/yes$(EXEEXT) |
59f0d218 FF |
17 | |
18 | .x.1: | |
19 | - $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \ | |
20 | - case $$name in \ | |
21 | - install) prog='ginstall'; argv=$$name;; \ | |
22 | - test) prog='['; argv='[';; \ | |
23 | - *) prog=$$name; argv=$$prog;; \ | |
24 | - esac; \ | |
25 | - rm -f $@ $@-t \ | |
26 | - && t=$*.td \ | |
27 | - && rm -rf $$t \ | |
28 | - && $(MKDIR_P) $$t \ | |
bc82430b FF |
29 | - && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog$(EXEEXT) \ |
30 | - $$argv$(EXEEXT)) \ | |
e137a06f FF |
31 | - && : $${SOURCE_DATE_EPOCH=`cat $(srcdir)/.timestamp 2>/dev/null || :`} \ |
32 | - && export SOURCE_DATE_EPOCH && $(run_help2man) \ | |
59f0d218 FF |
33 | - --source='$(PACKAGE_STRING)' \ |
34 | - --include=$(srcdir)/man/$$name.x \ | |
bc82430b FF |
35 | - --output=$$t/$$name.1 \ |
36 | - --info-page='\(aq(coreutils) '$$name' invocation\(aq' \ | |
37 | - $$t/$$argv$(EXEEXT) \ | |
59f0d218 FF |
38 | - && sed \ |
39 | - -e 's|$*\.td/||g' \ | |
40 | - -e '/For complete documentation/d' \ | |
41 | - $$t/$$name.1 > $@-t \ | |
42 | - && rm -rf $$t \ | |
43 | - && chmod a-w $@-t \ | |
44 | - && mv $@-t $@ | |
fb8471fb | 45 | + # Use man pages generated by help2man in the host build. |
59f0d218 FF |
46 | + cp $(top_srcdir)/../host-build/$@ $@ |
47 | .PHONY: check-root | |
48 | check-root: | |
49 | $(MAKE) check TESTS='$(root_tests)' SUBDIRS=. |