swanctl: Correctly build man page in out-of-tree builds from the repository

This commit is contained in:
Tobias Brunner 2015-08-27 12:42:21 +02:00
parent 7a1fed284c
commit 0709280175
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ CLEANFILES = $(man_MANS)
swanctl.conf.5.main: swanctl.opt
$(AM_V_GEN) \
$(PYTHON) $(top_srcdir)/conf/format-options.py -n -f man swanctl.opt > $(srcdir)/$@
cd $(srcdir) && $(PYTHON) $(abs_top_srcdir)/conf/format-options.py -n -f man swanctl.opt > $@
swanctl.conf.5: swanctl.conf.5.head swanctl.conf.5.main swanctl.conf.5.tail
$(AM_V_GEN) \