Skip to content

Commit

Permalink
Fix building/installing without python
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Nov 22, 2023
1 parent 24ce770 commit 107f64c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/python/speechd_config/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,15 @@ CLEANFILES += buildconfig.py speechd.desktop

EXTRA_DIST = buildconfig.py.in speechd.desktop.in

if HAVE_PYTHON
if HAVE_HELP2MAN
spd-conf.1: buildconfig.py $(abs_builddir)/__init__.py $(abs_builddir)/config.py
LC_ALL=C PYTHONPATH=$(builddir)/.. PYTHONDONTWRITEBYTECODE=1 help2man -N -n "configure Speech Dispatcher and diagnose problems" --output=$@ $(srcdir)/spd-conf

dist_man1_MANS = \
spd-conf.1
endif
endif

CLEANFILES += $(dist_man1_MANS)

Expand Down

0 comments on commit 107f64c

Please sign in to comment.