don't rebuild everything all the time

oops, soname.h was being rewritten all the time, triggering a full
rebuild every time
This commit is contained in:
John Cupitt 2017-01-04 15:51:59 +00:00
parent c4640b61c7
commit 0dd51c43ac

View File

@ -65,8 +65,12 @@ EXTRA_DIST = \
CLEANFILES =
all-local:
echo '/* This file is autogenerated, do not edit. */' > include/vips/soname.h; \
source libvips.la; echo "#define VIPS_SONAME \"$$dlname\"" >> include/vips/soname.h;
echo '/* This file is autogenerated, do not edit. */' > soname.h && \
source libvips.la && \
echo "#define VIPS_SONAME \"$$dlname\"" >> soname.h && \
( cmp -s soname.h include/vips/soname.h || \
cp soname.h include/vips ) && \
rm soname.h
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =