From: Tobias Brunner Date: Thu, 27 Aug 2015 10:42:21 +0000 (+0200) Subject: swanctl: Correctly build man page in out-of-tree builds from the repository X-Git-Tag: 5.3.3rc2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0709280175c5dbf2a3dc03fbcc01fcf691a585b8;p=thirdparty%2Fstrongswan.git swanctl: Correctly build man page in out-of-tree builds from the repository --- diff --git a/src/swanctl/Makefile.am b/src/swanctl/Makefile.am index abf067a7cf..703e5746af 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) \