coreutils-01-fix-for-dummy-man-usage.patch 880 B

12345678910111213141516171819202122232425
  1. Upstream-Status: Pending
  2. coreutils: fix for dummy-man usage
  3. The options should be before the final argument, otherwise, the following error
  4. would appear when compiling.
  5. "dummy-man: too many non-option arguments"
  6. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
  7. [Gustavo: update for 8.23]
  8. diff -Nura coreutils-8.23.orig/man/local.mk coreutils-8.23/man/local.mk
  9. --- coreutils-8.23.orig/man/local.mk 2014-10-24 16:52:29.720555852 -0300
  10. +++ coreutils-8.23/man/local.mk 2014-10-24 16:52:59.381391498 -0300
  11. @@ -101,8 +101,8 @@
  12. && $(run_help2man) \
  13. --source='$(PACKAGE_STRING)' \
  14. --include=$(srcdir)/man/$$name.x \
  15. - --output=$$t/$$name.1 $$t/$$argv \
  16. --info-page='coreutils \(aq'$$name' invocation\(aq' \
  17. + --output=$$t/$$name.1 $$t/$$argv \
  18. && sed \
  19. -e 's|$*\.td/||g' \
  20. -e '/For complete documentation/d' \