chiark / gitweb /
doc/: Miscellaneous clarifications and rewordings.
[sod] / vars.am
diff --git a/vars.am b/vars.am
index 2f3336e73eba301d4ba61fed297403d74f0b7ca1..0c83837fd67e53a218b7ff66d48d8d3f85d0f568 100644 (file)
--- a/vars.am
+++ b/vars.am
@@ -7,7 +7,7 @@
 
 ###----- Licensing notice ---------------------------------------------------
 ###
-### This file is part of the Sensble Object Design, an object system for C.
+### This file is part of the Sensible Object Design, an object system for C.
 ###
 ### SOD is free software; you can redistribute it and/or modify
 ### it under the terms of the GNU General Public License as published by
@@ -42,6 +42,9 @@ BUILT_SOURCES          =
 bin_PROGRAMS            =
 check_PROGRAMS          =
 pkginclude_HEADERS      =
+TESTS                   =
+
+dist_man_MANS           =
 
 CLEANFILES             += $(BUILT_SOURCES)
 
@@ -54,6 +57,24 @@ SOD_INCLUDES          = \
 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.