]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
swanctl: Fix man page build on FreeBSD
authorTobias Brunner <tobias@strongswan.org>
Tue, 14 Oct 2014 14:46:07 +0000 (16:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 14 Oct 2014 14:49:40 +0000 (16:49 +0200)
BSD make seems to only evaluate $< for certain rules (like the suffix rule
used to generate the config template).

src/swanctl/Makefile.am

index 482688c977eccaf6f87a0aa30c914c766bc495f4..b84d705879f78844174b51db27c2fe2af7ea5ccf 100644 (file)
@@ -46,7 +46,7 @@ CLEANFILES = $(man_MANS)
 
 swanctl.conf.5.main: swanctl.opt
        $(AM_V_GEN) \
-       $(PYTHON) $(top_srcdir)/conf/format-options.py -n -f man $< > $(srcdir)/$@
+       $(PYTHON) $(top_srcdir)/conf/format-options.py -n -f man swanctl.opt > $(srcdir)/$@
 
 swanctl.conf.5: swanctl.conf.5.head swanctl.conf.5.main swanctl.conf.5.tail
        $(AM_V_GEN) \