khal: fix build, help find sphinxcontrib_newsfeed

This isn't pretty but seems to do the job, improvements very welcome :)

An alternative approach (untested) would be buiding man pages separately
and linking them into a unified result. FWIW.
This commit is contained in:
Will Dietz 2019-10-23 12:07:53 -05:00
parent 99df22190c
commit 2c50765a66
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -42,6 +42,7 @@ with python3.pkgs; buildPythonApplication rec {
install -D misc/__khal $out/share/zsh/site-functions/__khal
# man page
PATH="${python3.withPackages (ps: with ps; [ sphinx sphinxcontrib_newsfeed ])}/bin:$PATH" \
make -C doc man
install -Dm755 doc/build/man/khal.1 -t $out/share/man/man1