summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a518f63)
Otherwise it has @VERSION@ crud in it!
###--------------------------------------------------------------------------
### Handy variables.
###--------------------------------------------------------------------------
### Handy variables.
-confsubst = $(srcdir)/confsubst
+confsubst = $(srcdir)/confsubst.in
mkdir_p = $(srcdir)/config/install-sh -d
###--------------------------------------------------------------------------
mkdir_p = $(srcdir)/config/install-sh -d
###--------------------------------------------------------------------------
## Scripts.
pkgdata_SCRIPTS += install-ac
pkgdata_SCRIPTS += maninst
## Scripts.
pkgdata_SCRIPTS += install-ac
pkgdata_SCRIPTS += maninst
pkgdata_SCRIPTS += 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
## Testsuites.
pkgdata_DATA += autotest.am
### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
set -e
### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
set -e
VERSION="@VERSION@"
###--------------------------------------------------------------------------
VERSION="@VERSION@"
###--------------------------------------------------------------------------