X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2FMakefile.am;h=1c1d8e0ad7f319c7a28718e67b919c7ffcffe674;hb=34ea20af73a35cd918ce9dc25796bebf9493b49c;hp=7de9ecb7253fef44f2be73a8706c3c807be71d79;hpb=9f0fb224a6c2eab93b6917ef6c034423c49126cd;p=tinc diff --git a/src/Makefile.am b/src/Makefile.am index 7de9ecb7..1c1d8e0a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,8 +5,8 @@ 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 version_git.h: - echo >$@ - -(cd $(srcdir) && git describe) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ + $(AM_V_GEN)echo >$@ + @-(cd $(srcdir) && git describe >/dev/null) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ ||: ${srcdir}/version.c: version_git.h if LINUX @@ -98,8 +98,6 @@ tincd_SOURCES = \ tinc_SOURCES = \ dropin.c dropin.h \ - getopt.c getopt.h \ - getopt1.c \ fsck.c fsck.h \ info.c info.h \ invitation.c invitation.h \