X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/18c831dcd0ae4d660c70ccac69d27ed2a97851be..118a549cc82f07b4c8b13aeebd866d2912ff3f1b:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 66185ee..5a11eb7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) && \ + $(SUBST) $(srcdir)/mLib.pc.in >$@.new \ + $(SUBSTITUTIONS) && \ mv $@.new $@ ###-------------------------------------------------------------------------- @@ -98,9 +99,20 @@ libmLib_la_LIBADD += test/libtest.la SUBDIRS += trace libmLib_la_LIBADD += trace/libtrace.la +###-------------------------------------------------------------------------- +### Testing. + +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