You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

10 years ago
Use man pages generated by help2man in the host build.
diff -u -r ../coreutils-8.25/Makefile.in ./Makefile.in
--- ../coreutils-8.25/Makefile.in 2016-01-20 05:55:18.000000000 -0500
+++ ./Makefile.in 2016-01-20 17:47:11.033497974 -0500
@@ -14385,32 +14385,7 @@
@SINGLE_BINARY_FALSE@man/yes.1: src/yes$(EXEEXT)
10 years ago
.x.1:
- $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \
- case $$name in \
- install) prog='ginstall'; argv=$$name;; \
- test) prog='['; argv='[';; \
- *) prog=$$name; argv=$$prog;; \
- esac; \
- rm -f $@ $@-t \
- && t=$*.td \
- && rm -rf $$t \
- && $(MKDIR_P) $$t \
- && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog$(EXEEXT) \
- $$argv$(EXEEXT)) \
- && : $${SOURCE_DATE_EPOCH=`cat $(srcdir)/.timestamp 2>/dev/null || :`} \
- && export SOURCE_DATE_EPOCH && $(run_help2man) \
10 years ago
- --source='$(PACKAGE_STRING)' \
- --include=$(srcdir)/man/$$name.x \
- --output=$$t/$$name.1 \
- --info-page='\(aq(coreutils) '$$name' invocation\(aq' \
- $$t/$$argv$(EXEEXT) \
10 years ago
- && sed \
- -e 's|$*\.td/||g' \
- -e '/For complete documentation/d' \
- $$t/$$name.1 > $@-t \
- && rm -rf $$t \
- && chmod a-w $@-t \
- && mv $@-t $@
+ cp $(top_srcdir)/../host-build/$@ $@
.PHONY: check-root
check-root:
$(MAKE) check TESTS='$(root_tests)' SUBDIRS=.