Project

General

Profile

Actions

Bug #472

closed

make install fail, can't find man8/flashrom.8

Added by Eric Hoffman over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Build system
Target version:
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

Also available in: Atom PDF