Update automatically managed build utilities.
[sod] / vars.am
diff --git a/vars.am b/vars.am
index 2f3336e..7e7406c 100644 (file)
--- a/vars.am
+++ b/vars.am
@@ -43,6 +43,8 @@ bin_PROGRAMS           =
 check_PROGRAMS          =
 pkginclude_HEADERS      =
 
+dist_man_MANS           =
+
 CLEANFILES             += $(BUILT_SOURCES)
 
 ###--------------------------------------------------------------------------
@@ -55,6 +57,24 @@ AM_CPPFLAGS           = $(SOD_INCLUDES)
 LDADD                   = $(top_builddir)/lib/libsod.la
 
 ###--------------------------------------------------------------------------
+### Standard configuration substitutions.
+
+## Substitute tags in files.
+confsubst                = $(top_srcdir)/config/confsubst
+
+SUBSTITUTIONS = \
+       prefix=$(prefix) exec_prefix=$(exec_prefix) \
+       libdir=$(libdir) includedir=$(includedir) \
+       bindir=$(bindir) sbindir=$(sbindir) \
+       srcdir=$(srcdir) \
+       PACKAGE=$(PACKAGE) VERSION=$(VERSION) ASDF_VERSION=$(ASDF_VERSION)
+
+V_SUBST = $(V_SUBST_$(V))
+V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
+V_SUBST_0 = @echo "  SUBST  $@";
+SUBST = $(V_SUBST)$(confsubst)
+
+###--------------------------------------------------------------------------
 ### Translating SOD input files.
 
 ## The tool location.