Actions
Bug #472
closedmake install fail, can't find man8/flashrom.8
Start date:
03/24/2023
Due date:
% Done:
100%
Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:
Description
(I originally posted this directly on github page, re-posting here)
Broken with commit f4f2f3d
The man page has been relocated from flashrom.8 to man8/flashrom.8
$(INSTALL) -m 0644 man8/$(PROGRAM).8 $(DESTDIR)$(MANDIR)/man8
...
SPHINXBUILD ?= sphinx-build
man8/$(PROGRAM).8: doc/*
@FLASHROM_VERSION=$(VERSION) $(SPHINXBUILD) -b man doc .
However, the last line above still compile the man page to top directory.
The make install then complains
install: cannot stat 'man8/flashrom.8': No such file or directory
The last line should read
@FLASHROM_VERSION=$(VERSION) $(SPHINXBUILD) -b man doc man8
Actions