CLEANFILES += mLib.pc
mLib.pc: mLib.pc.in Makefile
- $(confsubst) $(srcdir)/mLib.pc.in >$@.new $(SUBSTITUTIONS) && \
+ $(AM_V_GEN)$(confsubst) $(srcdir)/mLib.pc.in >$@.new \
+ $(SUBSTITUTIONS) && \
mv $@.new $@
###--------------------------------------------------------------------------
###--------------------------------------------------------------------------
### Distribution.
+## Make sure the precomputed tables are available. Hang this off of any
+## distributed file.
+mLib.pc.in: ensure-precomp-libs
+ensure-precomp-libs:
+ for d in ui utils; do (cd $$d && $(MAKE) all) || exit 1; done
+
## Release number.
dist-hook::
echo $(VERSION) >$(distdir)/RELEASE