Project

General

Profile

Actions

Bug #472

closed

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

Added by Eric Hoffman about 1 year ago. Updated 12 months 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 #1

Updated by Anastasia Klimchuk about 1 year ago

  • Status changed from New to In Progress
Actions #2

Updated by Anastasia Klimchuk 12 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Eric, thank you so much for reporting. The patch is merged now.

Actions

Also available in: Atom PDF