chiark / gitweb /
build: Don't make libraries for precomputation utilities on demand.
[mLib] / Makefile.am
index 5b393f71ce07c518d2e52d0a43ef7e671fb44a71..101d53383b196a2a0f17080307ba604eb689c720 100644 (file)
@@ -107,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