| 1 | Use man pages generated by help2man in the host build. |
| 2 | |
| 3 | diff -u -r ../coreutils-8.23/Makefile.in ./Makefile.in |
| 4 | --- ../coreutils-8.23/Makefile.in 2014-07-19 00:22:24.000000000 +0200 |
| 5 | +++ ./Makefile.in 2014-07-29 15:52:14.000000000 +0200 |
| 6 | @@ -14062,29 +14062,7 @@ |
| 7 | @AMDEP_TRUE@@am__include@ man/dynamic-deps.mk |
| 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 \ |
| 20 | - && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog $$argv) \ |
| 21 | - && $(run_help2man) \ |
| 22 | - --source='$(PACKAGE_STRING)' \ |
| 23 | - --include=$(srcdir)/man/$$name.x \ |
| 24 | - --output=$$t/$$name.1 $$t/$$argv \ |
| 25 | - --info-page='coreutils \(aq'$$name' invocation\(aq' \ |
| 26 | - && sed \ |
| 27 | - -e 's|$*\.td/||g' \ |
| 28 | - -e '/For complete documentation/d' \ |
| 29 | - $$t/$$name.1 > $@-t \ |
| 30 | - && rm -rf $$t \ |
| 31 | - && chmod a-w $@-t \ |
| 32 | - && mv $@-t $@ |
| 33 | + cp $(top_srcdir)/../host-build/$@ $@ |
| 34 | .PHONY: check-root |
| 35 | check-root: |
| 36 | $(MAKE) check TESTS='$(root_tests)' SUBDIRS=. |