X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/ba4d97a46a046f5170b58a29c8f1c0524c63694c..cac38f7fe315b2869985b49beaca4677c568b853:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 3f87396..7ca039d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,7 +33,7 @@ CLEANFILES = ###-------------------------------------------------------------------------- ### Handy variables. -confsubst = $(srcdir)/confsubst +confsubst = $(srcdir)/confsubst.in mkdir_p = $(srcdir)/config/install-sh -d ###-------------------------------------------------------------------------- @@ -83,7 +83,21 @@ pkgdata_DATA += getdate.y getdate.h ## Scripts. pkgdata_SCRIPTS += install-ac pkgdata_SCRIPTS += maninst + +## confsubst pkgdata_SCRIPTS += confsubst +CLEANFILES += confsubst +EXTRA_DIST += confsubst.in + +confsubst: confsubst.in Makefile + $(confsubst) $(srcdir)/confsubst.in >$@.new \ + VERSION=$(VERSION) + chmod +x $@.new + mv $@.new $@ + +## Testsuites. +pkgdata_DATA += autotest.am +pkgdata_DATA += testsuite.at EXTRA_DIST += $(pkgdata_DATA) EXTRA_DIST += $(pkgdata_SCRIPTS)