Alexander Goncharov has uploaded this change for review.

View Change

Makefile: do not generate man page when building sources

Currently, it's not possible to compile the upstream branch using the
`make' command without sphinx installed.

The `make` command has to compile the source code and generate the
executable, not the documentation. It's still possible to generate the
man page using `make install`.

The problem was noticed from commit
f4f2f3dd19784efa26fd5619b7a44b4cdf14b04c move manpage to sphinx.

Change-Id: I9882445de2a0996f237470a73b6a1eb7eafce808
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
---
M Makefile
1 file changed, 21 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/10/74510/1
diff --git a/Makefile b/Makefile
index 0e16942..2653e36 100644
--- a/Makefile
+++ b/Makefile
@@ -958,7 +958,7 @@
OBJS = $(CHIP_OBJS) $(PROGRAMMER_OBJS) $(LIB_OBJS)


-all: $(PROGRAM)$(EXEC_SUFFIX) man8/$(PROGRAM).8
+all: $(PROGRAM)$(EXEC_SUFFIX)
ifeq ($(ARCH), x86)
@+$(MAKE) -C util/ich_descriptors_tool/ HOST_OS=$(HOST_OS) TARGET_OS=$(TARGET_OS)
endif

To view, visit change 74510. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9882445de2a0996f237470a73b6a1eb7eafce808
Gerrit-Change-Number: 74510
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Goncharov <chat@joursoir.net>
Gerrit-MessageType: newchange