diff --git a/Makefile.am b/Makefile.am index 2097bcd6f6..4e30d951cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -437,6 +437,8 @@ $(switch_builddir)/quiet_libtool: $(switch_builddir)/libtool build/print_git_revision: build/print_git_revision.c $(CC) -o $@ $< +src/switch_version.c: src/include/switch_version.h + src/include/switch_version.h: src/include/switch_version.h.in Makefile build/print_git_revision $(libfreeswitch_la_SOURCES) $(library_include_HEADERS) @cat $< > $@; \ if [ -d .git ] && [ -n "$$(which git)" ]; then \