coreutils: Avoid installing pinky (useless) and realpath(buggy)
[termux-packages] / packages / coreutils / Makefile.in.patch
CommitLineData
59f0d218
FF
1Use man pages generated by help2man in the host build.
2
bc82430b
FF
3diff -u -r ../coreutils-8.24/Makefile.in ./Makefile.in
4--- ../coreutils-8.24/Makefile.in 2015-07-03 17:23:13.000000000 -0400
5+++ ./Makefile.in 2015-07-04 07:38:25.901795437 -0400
6@@ -14242,31 +14242,7 @@
7 @SINGLE_BINARY_FALSE@man/yes.1: src/yes$(EXEEXT)
59f0d218
FF
8
9 .x.1:
10- $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \
11- case $$name in \
12- install) prog='ginstall'; argv=$$name;; \
13- test) prog='['; argv='[';; \
14- *) prog=$$name; argv=$$prog;; \
15- esac; \
16- rm -f $@ $@-t \
17- && t=$*.td \
18- && rm -rf $$t \
19- && $(MKDIR_P) $$t \
bc82430b
FF
20- && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog$(EXEEXT) \
21- $$argv$(EXEEXT)) \
59f0d218
FF
22- && $(run_help2man) \
23- --source='$(PACKAGE_STRING)' \
24- --include=$(srcdir)/man/$$name.x \
bc82430b
FF
25- --output=$$t/$$name.1 \
26- --info-page='\(aq(coreutils) '$$name' invocation\(aq' \
27- $$t/$$argv$(EXEEXT) \
59f0d218
FF
28- && sed \
29- -e 's|$*\.td/||g' \
30- -e '/For complete documentation/d' \
31- $$t/$$name.1 > $@-t \
32- && rm -rf $$t \
33- && chmod a-w $@-t \
34- && mv $@-t $@
35+ cp $(top_srcdir)/../host-build/$@ $@
36 .PHONY: check-root
37 check-root:
38 $(MAKE) check TESTS='$(root_tests)' SUBDIRS=.