chiark / gitweb /
struct/t/: Use better format for printing `size_t values.
[mLib] / Makefile.am
index c50c505d61d1bbccd2871c81af7bf5bd8d72ef22..101d53383b196a2a0f17080307ba604eb689c720 100644 (file)
@@ -45,7 +45,8 @@ EXTRA_DIST            += mLib.pc.in
 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 $@
 
 ###--------------------------------------------------------------------------
@@ -106,6 +107,12 @@ SUBDIRS                    += t
 ###--------------------------------------------------------------------------
 ### 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