From 0709280175c5dbf2a3dc03fbcc01fcf691a585b8 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 27 Aug 2015 12:42:21 +0200 Subject: [PATCH] swanctl: Correctly build man page in out-of-tree builds from the repository --- src/swanctl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swanctl/Makefile.am b/src/swanctl/Makefile.am index abf067a7c..703e5746a 100644 --- a/src/swanctl/Makefile.am +++ b/src/swanctl/Makefile.am @@ -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) \