X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2FMakefile.am;h=f54b476fabe3bd10d37b033ece70e831c5186e75;hp=ef7c08d291dc7e470a53f573e5d9541d8d951c1b;hb=1f5c26102e228420fd954af1d73d3a89fc700d9d;hpb=0037ec7cb38994dda6ab5e4fa85ce595b9a59f6b diff --git a/src/Makefile.am b/src/Makefile.am index ef7c08d2..f54b476f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,6 +12,11 @@ version_git.h: version-stamp @-(cd $(srcdir) && git describe 2>/dev/null >/dev/null) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ ||: ${srcdir}/version.c: version_git.h +## Now a hack to appease some versions of BSD make that don't understand that "./foo" is the same as "foo". +if BSD +version.c: ${srcdir}/version.c +endif + if LINUX sbin_PROGRAMS += sptps_speed endif