bb#11185 - candidate fix to version mismatch when using vpaths

pull/18/head
Kevin Lin 11 years ago
parent 3e8eed1823
commit 26a9128a4b
  1. 6
      libclamav/Makefile.am

@ -536,7 +536,11 @@ version.h: version.h.tmp
cp version.h.static version.h;\
elif ! diff $@ version.h.tmp >/dev/null 2>/dev/null; then\
cp version.h.tmp $@;\
fi
fi;\
if test -f $(top_srcdir)/libclamav/version.h &&\
! diff $(top_srcdir)/libclamav/version.h version.h.tmp >/dev/null 2>/dev/null; then\
cp version.h.tmp $(top_srcdir)/libclamav/version.h;\
fi
version.h.tmp:
$(AM_V_GEN) test -f version.h || touch version.h;\

Loading…
Cancel
Save