Skip to content

Commit

Permalink
doc: don't build FvwmConsole.1 if FvwmPrompt enabled
Browse files Browse the repository at this point in the history
When generating the documentation, don't build FvwmConsole's manpage, as
FvwmConsole is disabled in lieu of using FvwmPrompt.

Fixes #597
  • Loading branch information
ThomasAdam committed Sep 18, 2022
1 parent 206902c commit 12ad8d9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/Makefile.am
@@ -1,5 +1,5 @@
docdir = @FVWM_DOCDIR@
MODULE_ADOC = \
MODULE_ADOC_SRCS = \
fvwm3.adoc \
fvwm3all.adoc \
fvwm3commands.adoc \
Expand All @@ -8,6 +8,14 @@ MODULE_ADOC = \
$(wildcard Fvwm*.adoc) \
$(wildcard fvwm-*.adoc)

# If building FvwmPrompt, don't generate the manpage for FvwmConsole as that
# won't ever be installed.
if FVWM_BUILD_GOLANG
MODULE_ADOC = $(filter-out FvwmConsole.adoc, $(MODULE_ADOC_SRCS))
else
MODULE_ADOC = $(MODULE_ADOC_SRCS)
endif

EXTRA_DIST = $(MODULE_ADOC)

nothing:
Expand Down

0 comments on commit 12ad8d9

Please sign in to comment.