* Makefile.am (libtool): Depends on ltmain.sh.

(libtoolize): Set and substitute TIMESTAMP.
This commit is contained in:
Gary V. Vaughan 2004-08-05 07:16:13 +00:00
parent 6836243e0b
commit 5de3e29e35
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2004-08-05 Gary V. Vaughan <gary@gnu.org>
* Makefile.am (libtool): Depends on ltmain.sh.
(libtoolize): Set and substitute TIMESTAMP.
* Makefile.am ($(top_srcdir)/config/ltmain.sh): Actually run
$(MKSTAMP) before changing directories, or it won't be found.
Forgot to save before my last commit :-(

View File

@ -105,15 +105,17 @@ bin_SCRIPTS = libtoolize libtool
libtoolize: libtoolize.in Makefile
rm -f libtoolize.tmp libtoolize
set -- `$(MKSTAMP) < $(top_srcdir)/ChangeLog`; \
input="libtoolize.in"; \
$(edit) $(srcdir)/libtoolize.in > libtoolize.tmp
$(edit) -e "s,@TIMESTAMP\@,$$1 $$2 $$3,g" \
$(srcdir)/libtoolize.in > libtoolize.tmp
chmod a+x libtoolize.tmp
chmod a-w libtoolize.tmp
mv -f libtoolize.tmp libtoolize
# Automake doesn't want us to generate distributed files from config.status,
# but the alternative (see libtool-1.4.3) was even uglier!
libtool: $(top_builddir)/config.status
libtool: $(top_builddir)/config.status $(top_srcdir)/config/ltmain.sh
cd $(top_builddir) && $(SHELL) ./config.status $@
.PHONY: configure-subdirs