]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorGordon Matzigkeit <gord@gnu.org>
Mon, 1 Dec 1997 18:36:19 +0000 (18:36 +0000)
committerGordon Matzigkeit <gord@gnu.org>
Mon, 1 Dec 1997 18:36:19 +0000 (18:36 +0000)
ChangeLog
Makefile.am

index 68cfbb7d580ea29a4f2a3332dc7ac51a09a5b782..e71142de7ba33e1f1ee365e59fd914b9bc8957a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Mon Dec  1 00:50:37 1997  Gordon Matzigkeit  <gord@gnu.org>
 
+       * Makefile.am ($(srcdir)/ltconfig, $(srcdir)/ltmain.sh): Rewrite
+       these rules so that they are parallelizable.  Reported by Jim
+       Meyering.
+
        * ltconfig.in (ltecho): We need special handling to quote the
        `echo' variable itself.  From Alexandre Oliva.
 
index e9e8fcb2cf0a5ef1a7b16289aaa289e8bd5a9dcb..7d5f2b3515c9155106d100c30eb183373625ea11 100644 (file)
@@ -42,19 +42,20 @@ libtoolize: libtoolize.in $(top_builddir)/config.status
        CONFIG_FILES=libtoolize CONFIG_HEADERS= $(top_builddir)/config.status
        chmod +x libtoolize
 
-# These depend on configure.in (rather then config.status) so that version
-# numbers are correctly updated.
-# This way, they aren't regenerated after people configure the package.
-$(srcdir)/ltconfig: ltconfig.in configure.in
+$(srcdir)/ltconfig: ltconfig.in $(top_builddir)/config.status
        CONFIG_FILES=ltconfig CONFIG_HEADERS= $(top_builddir)/config.status
        AWK=@AWK@ $(top_srcdir)/lineno --delete ltconfig
        chmod +x ltconfig
-       test "$(srcdir)" = . || mv ltconfig $(srcdir)/ltconfig
+       test "$(srcdir)" = . || \
+         (cmp -s ltconfig $(srcdir)/ltconfig && rm -f ltconfig) || \
+         mv -f ltconfig $(srcdir)/ltconfig
 
-$(srcdir)/ltmain.sh: ltmain.in configure.in
+$(srcdir)/ltmain.sh: ltmain.in $(top_builddir)/config.status
        CONFIG_FILES=ltmain.sh:ltmain.in CONFIG_HEADERS= \
          $(top_builddir)/config.status
-       test "$(srcdir)" = . || mv ltmain.sh $(srcdir)/ltmain.sh
+       test "$(srcdir)" = . || \
+         (cmp -s ltmain.sh $(srcdir)/ltmain.sh && rm -f ltmain.sh) || \
+         mv -f ltmain.sh $(srcdir)/ltmain.sh
 
 # Distribute the demo subdirectory.
 dist-hook: $(demo_distfiles)
@@ -117,7 +118,7 @@ maintainer-check-versions:
 maintainer-release: maintainer-check-versions distcheck
        cd $(top_srcdir) && $(PRCS) checkin -f $(PACKAGE)
        cd $(top_srcdir) && $(PRCS) rekey -f $(PACKAGE) configure.in libtool.spec
-       echo "============================="; \
+       @echo "============================="; \
          echo "Congratulations!  $(PACKAGE)-$(VERSION) is now complete."; \
          echo; \
          echo "Distribute \`$(PACKAGE)-$(VERSION).tar.gz' to the masses, and don't forget"; \