-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC – doc: Remove generated files and add rules to build manpages #856
Conversation
Those files can be built by doc/generate_manpages.sh. The manpages are needed for the installation, so add Makefile rules for them. Git must ignore the generated manpages. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This is a request for comments. The patch removes documentation files which can be easily created if Removing the documentation files which can be built simplifies the maintenance, because it is no longer necessary to update three generated files for a simple documentation update. |
I just tried to install the asciidoc package on Debian with Synaptic. |
Are you sure that those packages are required? On my Debian Stretch, I see 4 required packages (1.4 MB disk space): |
It may depend on what is already installed on the system. I get the following list:
|
Try I get 4 packages with |
Thanks. That does the trick.
|
|
By the way, builds which use |
Cmake is used by people that use MSVC and by the CI. |
Any objection to merge this PR? |
If this PR is accepted, we will need to add this to the @stweil, what do think about this issue? |
Yes, we have to add documentation for package maintainers who want to install the man pages with the Tesseract package. I expect that a person who wants to build a distro package won't have problems with installing too many packages with Normal users who want to build Tesseract would not automatically build man pages, so they don't need Instead of building man pages in maintainer mode only, it would also be possible to build them only if |
OK. No objection to this PR. BTW, Git does the same thing: |
https://github.com/git/git/blob/v2.13.0-rc1/INSTALL#L160 |
Making all in doc |
Making install in doc |
The above errors came while building using the regular automake method with plain ./configure |
Thank you for the report. This is fixed in PR #862. Don't forget to run |
Thanks! I usually follow the following for rebuilding tesseract.
|
Those files can be built by doc/generate_manpages.sh.
The manpages are needed for the installation,
so add Makefile rules for them.
Git must ignore the generated manpages.
Signed-off-by: Stefan Weil sw@weilnetz.de