1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00

version.h depends on config.status

* libguile/Makefile.am (version.h): Depend on config.status, so if we
  reconfigure we make sure to regenerate the version.
This commit is contained in:
Andy Wingo 2009-12-20 23:26:42 +01:00
parent 7d94e4af98
commit c66fe8a9a0

View file

@ -593,7 +593,7 @@ EXTRA_DIST = ChangeLog-scm ChangeLog-threads \
## We use @-...-@ as the substitution brackets here, instead of the ## We use @-...-@ as the substitution brackets here, instead of the
## usual @...@, so autoconf doesn't go and substitute the values ## usual @...@, so autoconf doesn't go and substitute the values
## directly into the left-hand sides of the sed substitutions. *sigh* ## directly into the left-hand sides of the sed substitutions. *sigh*
version.h: version.h.in version.h: version.h.in $(top_builddir)/config.status
sed < $(srcdir)/version.h.in > $@.tmp \ sed < $(srcdir)/version.h.in > $@.tmp \
-e s:@-GUILE_MAJOR_VERSION-@:${GUILE_MAJOR_VERSION}: \ -e s:@-GUILE_MAJOR_VERSION-@:${GUILE_MAJOR_VERSION}: \
-e s:@-GUILE_MINOR_VERSION-@:${GUILE_MINOR_VERSION}: \ -e s:@-GUILE_MINOR_VERSION-@:${GUILE_MINOR_VERSION}: \