View Issue Details

IDProjectCategoryView StatusLast Update
0005616GNUnetdocumentationpublic2019-04-03 14:55
Reporternikita Assigned Tonikita Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.11.1Fixed in Version0.11.1 
Summary0005616: build system integration for doc folder does not work as intended
Descriptionexpectation:
  * --disable-documentation does not build doc/handbook
  * --disable-documentation does install doc/man/man1 + doc/man/man5
  * if --disable-documentation and --enable-texi2mdoc-generation are both true,
     texi2mdoc rule (inside doc/handbook and doc/tutorial) builds an output of
     the texi files and puts them in doc/man/man7/

reality:
  * --disable-documentation implies not installing doc/man/*
  * effects on texi2mdoc: does not build at all if --disable-documentation
     is passed to configure (confirmed.)

this was observed doing tests with my local branch of pkgsrc-wip package for gnunet
TagsNo tags attached.

Activities

nikita

2019-02-28 10:54

reporter   ~0014101

This can be resolved by untangling the new structure in doc and the makefiles in there, as well as their include/exclude statements for conditional variables.

nikita

2019-04-01 12:46

reporter   ~0014246

* --disable-documentation implies not installing doc/man/*
  * effects on texi2mdoc: does not build at all if --disable-documentation
     is passed to configure (confirmed.)


I have looked at this again. It works as intended. The problem here is that I need to be more specific.
If someone does not want to build documentation, do I want this statement to mean "okay, I do not build and install any category of documentation at all" or do I want it to mean "okay, I do not build and install the texinfo kind documentation category but install the rest"?
Before moving to texinfo we have (although in private) discussed the importance of documentation available offline. --enable-documentation is the default. distributors can override this.
I think the best choice would be a more fine grained "--enable-man" as another option which then only gives you the manpages and optionally the generated mdoc pages.

nikita

2019-04-01 13:06

reporter   ~0014247

I'm testing my --enable-include-manpages now.

nikita

2019-04-01 19:57

reporter   ~0014256

texi2mdoc now generates output again after a long bikeshed painting session.
previous commits fixed the other items of this ticket.

Issue History

Date ModifiedUsernameFieldChange
2019-02-28 10:17nikitaNew Issue
2019-02-28 10:42nikitaTarget Version => 0.11.1
2019-02-28 10:47Christian GrothoffStatusnew => acknowledged
2019-02-28 10:53nikitaDescription Updated
2019-02-28 10:54nikitaNote Added: 0014101
2019-02-28 11:02nikitaDescription Updated
2019-02-28 11:08nikitaDescription Updated
2019-04-01 12:18nikitaAssigned To => nikita
2019-04-01 12:18nikitaStatusacknowledged => assigned
2019-04-01 12:18nikitaStatusassigned => acknowledged
2019-04-01 12:46nikitaNote Added: 0014246
2019-04-01 13:06nikitaNote Added: 0014247
2019-04-01 19:57nikitaStatusacknowledged => resolved
2019-04-01 19:57nikitaResolutionopen => fixed
2019-04-01 19:57nikitaFixed in Version => 0.11.1
2019-04-01 19:57nikitaNote Added: 0014256
2019-04-03 14:55Christian GrothoffStatusresolved => closed