Skip to content

[BUG] Build always makes doc/rofi.1 even without pandoc installed #2126

@smarek

Description

@smarek

Rofi version (rofi -v)

1.7.8 (git checkout tag)

Configuration

none relevant

Theme

none relevant

Timing report

No response

Launch command

make

Step to reproduce

Remove "pandoc" from your system/context

In output of "../configure --prefix=/usr/local observe following lines

--snip--

checking for pandoc... no

--snip--

-------------------------------------
Desktop File drun            Enabled
Window switcher mode         Enabled
Asan address sanitize        Disabled
Code Coverage                Disabled
Check based tests            Enabled
Build man pages              Disabled
-------------------------------------
Now type 'make' to build

In make output observe following

> make                                                                 
../script/get_git_rev.sh .. ./gitconfig.h
make  all-am
make[1]: Entering directory '/home/user/.opt/rofi/build'
../script/get_git_rev.sh .. ./gitconfig.h
make[1]: *** No rule to make target 'doc/rofi.1', needed by 'all-am'.  Stop.
make[1]: Leaving directory '/home/user/.opt/rofi/build'
make: *** [Makefile:2035: all] Error 2

Expected behavior

build should pass even without pandoc, and there should be no active "doc/*" target in Makefiles

Actual behavior

build fails

Additional information

No response

Using wayland display server protocol

  • No, I don't use the wayland display server protocol

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions