From d8a3a182de30d649ed6764dd5d64b57ad77a446e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 19 May 2015 14:09:53 +0200 Subject: [PATCH] Fix src/Makefile.am for *BSD. Apparently the BSDs don't like $(srcdir) but want to see ${srcdir} in their rules. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1