cpio/man/README
Petr Šabata dce45e02bf RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/cpio#b2d7cef5976b300ce3f2580046e97b0124804777
2020-10-14 23:14:40 +02:00

20 lines
639 B
Plaintext

How to (re)generate manual page:
--------------------------------
1. apply the `help.patch` to cpio sources and then re-build sources
2. run help2man on cpio shell wrapper:
`cpio_binary=../cpio-2.12/src/cpio help2man ./cpio > latest-output`
3. note the changes in `git diff latest-output`, those will probably need
manual tweaking in resulting manual page.
4. move the generated file on place:
`cp latest-output ../cpio.1`
5. apply `downstream.patch`
`cd .. ; patch -p1 cpio.1 < man/downstream.patch`
6. fix collisions and regenerate `downstream.patch`
`diff -u man/latest-output cpio.1 > man/downstream.patch`