From: Guus Sliepen Date: Tue, 19 May 2015 12:09:53 +0000 (+0200) Subject: Fix src/Makefile.am for *BSD. X-Git-Tag: release-1.1pre12~146 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=d8a3a182de30d649ed6764dd5d64b57ad77a446e;p=tinc Fix src/Makefile.am for *BSD. Apparently the BSDs don't like $(srcdir) but want to see ${srcdir} in their rules. --- diff --git a/src/Makefile.am b/src/Makefile.am index a6489dfd..63af709c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,11 +3,11 @@ sbin_PROGRAMS = tincd tinc sptps_test sptps_keypair ## Make sure version.c is always rebuilt with the latest git information -.PHONY: $(srcdir)/version.c version_git.h +.PHONY: ${srcdir}/version.c version_git.h version_git.h: echo >$@ -(cd $(srcdir) && git describe) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ -$(srcdir)/version.c: version_git.h +${srcdir}/version.c: version_git.h if LINUX sbin_PROGRAMS += sptps_speed