Skip to content

Conversation

samueloph
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other: Replace this with a description of the type of this PR

Description

Skip manpage and html doc installation if they weren't generated

Otherwise we get errors like this:

CMake Error at doc/cmake_install.cmake:46 (file):
file INSTALL cannot find
"/<>/build/doc/html": No such file or
directory.
Call Stack (most recent call first):
cmake_install.cmake:59 (include)

I noticed this issue when packaging the latest release on Debian (I should consider building and shipping the html docs BTW).

Related Issues & Documents

No issue reported AFAIK.

Documentation (check all applicable)

  • This PR requires changes to the Wiki documentation (describe the changes)
  • This PR requires changes to the documentation inside the git repo (please add them to the PR).
  • Does not require documentation changes

@patrick96 patrick96 changed the base branch from master to hotfix/3.6.1 March 2, 2022 09:45
Copy link
Member

@patrick96 patrick96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch :)

I want to get this into the 3.6.1 release and have changed the target for branch for that.
Since you didn't turn on write access to this branch for maintainers, could you manually cherry-pick your commit onto the hotfix/3.6.1 branch and also add an entry in the CHANGELOG.md?

@patrick96 patrick96 added this to the 3.6.1 milestone Mar 2, 2022
 Otherwise we get errors like this:

 CMake Error at doc/cmake_install.cmake:46 (file):
  file INSTALL cannot find
  "/<<PKGBUILDDIR>>/build/doc/html": No such file or
  directory.
 Call Stack (most recent call first):
  cmake_install.cmake:59 (include)
@samueloph samueloph force-pushed the samueloph/doc_install branch from 2989012 to 5f9b998 Compare March 2, 2022 21:28
@samueloph
Copy link
Contributor Author

@patrick96 I couldn't find the option to give you permission to modify the fork.

I have force-pushed to my branch based on hotfix/3.6.1, including the changelog changes.

Thanks,

Copy link
Member

@patrick96 patrick96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be an option for that on the bottom of the sidebar. It is normally enabled by default. But maybe there are some organization branch protection rules at work here.

2022-03-02-234548_339x436_scrot

@patrick96 patrick96 merged commit 40cbe7e into polybar:hotfix/3.6.1 Mar 2, 2022
@patrick96 patrick96 mentioned this pull request Mar 5, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants