Ticket #3764 (closed feature request: worksforme)

Opened 3 years ago

Last modified 3 years ago

need --htmldir conifiguration

Reported by: juhpetersen Owned by: igloo
Priority: normal Milestone: 6.12.2
Component: Build System Version: 6.12.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

ghc's makefiles currently ignore --htmldir overriding it to $(docdir)/html: this is also noted in comments for autoconf .backward compatibility.

Since only html is generated by default distro packagers probably prefer to drop the html/ subdir and just install the html docs straight to docdir. Having a working --htmldir configure options would allow this without fragile build hacks.

Change History

Changed 3 years ago by igloo

  • owner set to igloo
  • milestone set to 6.12.2

Thanks for the report; I'll take a look.

Changed 3 years ago by igloo

  • status changed from new to closed
  • resolution set to worksforme

This works for me, e.g. in the 6.12 branch:

$ ./configure --htmldir=/wibble
$ make show VALUE=htmldir
htmldir="/wibble"

but the version of autoconf used needs to be sufficiently recent that it knows about the htmldir flag.

I'll push a patch updating some of the comments in install.mk.in.

Note: See TracTickets for help on using tickets.