2004-02-06 Gary V. Vaughan <gary@gnu.org>
+ * configure.ac (AC_CONFIG_FILES): Generate libtoolize from here.
+ * Makefile.am (libtool, libtoolize): These rules are redundant.
+ Automake generates better rules for remaking these files.
+
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Catch unexpanded macros with
beginning with LT_ and _LT_.
* configure.ac (LT_MAJOR, LT_MINOR, LT_MICRO, LT_ALPHA): Renamed
# The standalone libtool script, and the libtool distributor.
bin_SCRIPTS = libtool libtoolize
-config_status = $(top_builddir)/config.status
-
-libtool: config/ltmain.sh $(top_builddir)/config.status
- CONFIG_FILES= CONFIG_HEADERS= CONFIG_COMMANDS=$@ $(SHELL) $(config_status)
- chmod +x $@
-
-libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
- CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_COMMANDS= $(SHELL) $(config_status)
- chmod +x $@
-
# Make sure config.status is regenerated when the version timestamp changes
MKSTAMP = $(SHELL) $(top_srcdir)/config/mkstamp
-$(config_status): stamp-vcl
+$(top_builddir)/config_status: stamp-vcl
stamp-vcl: vcl.tmp $(top_srcdir)/ChangeLog
vcl.tmp:
@dir=.; test -f $$dir/stamp-vcl || dir=$(srcdir); \
## Unpack the tarballs somewhere to diff them
rm -rf delta-diff
mkdir delta-diff
-
+
ofile="../$(PACKAGE)-$(LASTRELEASE)-$(VERSION).diff.gz"; \
cd delta-diff \
&& tar xzf "../$(PACKAGE)-$(LASTRELEASE).tar.gz" \
&& rm -f $$ofile.directive
rm -rf delta-diff
-
+
XDELTA = xdelta
XDELTA_OPTIONS = --pristine -9
&& echo "directory: libtool" > $$ofile.directive \
&& $(GPG) --clearsign $$ofile.directive \
&& rm -f $$ofile.directive
-
## Libtool initialisation. ##
## ----------------------- ##
AC_CONFIG_FILES([config/ltmain.sh:./ltmain.in])
+AC_CONFIG_FILES([libtoolize], [chmod a+x libtoolize])
AC_LIBTOOL_DLOPEN
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL