]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 May 1998 20:56:30 +0000 (20:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 May 1998 20:56:30 +0000 (20:56 +0000)
1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* autolock.sh: Removed.
* manual/move-if-change: Removed.

* scripts: new directory.
* =__ify: moved to scripts.
* config.guess: Likewise.
* config.sub: Likewise.
* gen-FAQ.pl: Likewise.
* install-sh: Likewise.
* mkinstalldirs: Likewise.
* move-if-change: Likewise.
* printsources: Likewise.
* rellns.sh: Likewise.
* test-installation.pl: Likewise.

* configure.in: Look in scripts for config.guess, config.sub,
install-sh.
* Makefile: Distribute all above files in their
new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
* manual/Makefile: Find mkinstalldirs and move-if-change in
$(..)scripts.  Drop them from distribute.  Minor cleanups.
* Makerules: Find mkinstalldirs and rellns-sh in scripts.
* sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
* timezone/Makefile: Find rellns-sh in scripts.

18 files changed:
ChangeLog
Makefile
Makerules
autolock.sh [deleted file]
configure.in
manual/Makefile
scripts/=__ify [moved from =__ify with 100% similarity]
scripts/config.guess [moved from config.guess with 100% similarity]
scripts/config.sub [moved from config.sub with 100% similarity]
scripts/gen-FAQ.pl [moved from gen-FAQ.pl with 100% similarity]
scripts/install-sh [moved from install-sh with 100% similarity]
scripts/mkinstalldirs [moved from mkinstalldirs with 100% similarity]
scripts/move-if-change [moved from move-if-change with 100% similarity]
scripts/printsources [moved from printsources with 100% similarity]
scripts/rellns-sh [moved from rellns-sh with 100% similarity]
scripts/test-installation.pl [moved from test-installation.pl with 100% similarity, mode: 0755]
sysdeps/mach/hurd/Makefile
timezone/Makefile

index 489be7598ae3677e27f2920623466782a2a79a03..e30e66e34ac7eb007ca198f18c665bdf02d65394 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
+
+       * autolock.sh: Removed.
+       * manual/move-if-change: Removed.
+
+       * scripts: new directory.
+       * =__ify: moved to scripts.
+       * config.guess: Likewise.
+       * config.sub: Likewise.
+       * gen-FAQ.pl: Likewise.
+       * install-sh: Likewise.
+       * mkinstalldirs: Likewise.
+       * move-if-change: Likewise.
+       * printsources: Likewise.
+       * rellns.sh: Likewise.
+       * test-installation.pl: Likewise.
+
+       * configure.in: Look in scripts for config.guess, config.sub,
+       install-sh.
+       * Makefile: Distribute all above files in their
+       new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
+       * manual/Makefile: Find mkinstalldirs and move-if-change in
+       $(..)scripts.  Drop them from distribute.  Minor cleanups.
+       * Makerules: Find mkinstalldirs and rellns-sh in scripts.
+       * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
+       * timezone/Makefile: Find rellns-sh in scripts.
+
 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
 
        * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
index bfbd474a6393ca1072213250715296e4cfee20e7..dca5009b92b7a35045507b2602a617fef91e0119 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ install:
 ifneq (no,$(PERL))
 ifeq (/usr,$(prefix))
 ifeq (,$(install_root))
-       CC="$(CC)" $(PERL) test-installation.pl $(common-objpfx)
+       CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx)
 endif
 endif
 endif
@@ -234,17 +234,19 @@ parent_echo-distinfo:
 \f
 # Make the distribution tarfile.
 
-distribute  := README README.libm INSTALL FAQ NOTES NEWS PROJECTS BUGS \
-              COPYING.LIB COPYING ChangeLog ChangeLog.[0-9]            \
-              Makefile Makeconfig Makerules Rules Make-dist MakeTAGS   \
-              extra-lib.mk o-iterator.mk autolock.sh rellns-sh         \
-              libc.map mkinstalldirs move-if-change install-sh         \
-              configure configure.in aclocal.m4 config.sub config.guess\
-              config.h.in config.make.in config-name.in Makefile.in    \
-              sysdep.h set-hooks.h libc-symbols.h version.h shlib-versions \
-              rpm/Makefile rpm/template rpm/rpmrc glibcbug.in abi-tags \
-              stub-tag.h test-installation.pl test-skeleton.c          \
-              include/des.h
+distribute  := README README.libm INSTALL FAQ NOTES NEWS PROJECTS      \
+               BUGS COPYING.LIB COPYING ChangeLog ChangeLog.[0-9]      \
+               Makefile Makeconfig Makerules Rules Make-dist MakeTAGS  \
+               extra-lib.mk o-iterator.mk libc.map configure           \
+               configure.in aclocal.m4 config.h.in config.make.in      \
+               config-name.in Makefile.in sysdep.h set-hooks.h         \
+               libc-symbols.h version.h shlib-versions rpm/Makefile    \
+               rpm/template rpm/rpmrc glibcbug.in abi-tags stub-tag.h  \
+               test-skeleton.c include/des.h                           \
+               $(addprefix scripts/,                                   \
+                       rellns-sh config.sub config.guess printsources  \
+                       mkinstalldirs move-if-change install-sh =__ify  \
+                       test-installation.pl gen-FAQ.pl)
 
 distribute := $(strip $(distribute))
 generated := $(generated) stubs.h
@@ -260,7 +262,7 @@ INSTALL: manual/install.texi; $(format-me)
 NOTES: manual/creature.texi; $(format-me)
 manual/dir-add.texi manual/dir-add.info: FORCE
        $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
-FAQ: gen-FAQ.pl FAQ.in
+FAQ: scripts/gen-FAQ.pl FAQ.in
        $(PERL) $^ > $@.new && rm -f $@ && mv $@.new $@ && chmod a-w $@
 ifeq ($(with-cvs),yes)
        test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated:  $(PERL) $^' $@
index 8b81a69290b1fe64116b29bb94e2e2ad6c9d2980..2b6e39537b214c9df512ebd1e8f024f9f1c7dcda 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -588,7 +588,7 @@ endef
 # Make the target directory if it doesn't exist, using the `mkinstalldirs'
 # script that does `mkdir -p' even if `mkdir' doesn't support that flag.
 define make-target-directory
-$(addprefix $(..)./mkinstalldirs ,\
+$(addprefix $(..)./scripts/mkinstalldirs ,\
            $(filter-out $(wildcard $(@D:%/=%)),$(@D:%/=%)))
 endef
 
@@ -631,7 +631,7 @@ $(addprefix $(inst_slibdir)/, $(filter-out $(versioned),$(install-lib.so))): \
 ifneq ($(findstring -s,$(LN_S)),)
 define make-link
 rm -f $@.new
-$(SHELL) $(..)rellns-sh $< $@.new
+$(SHELL) $(..)scripts/rellns-sh $< $@.new
 mv -f $@.new $@
 endef
 else
diff --git a/autolock.sh b/autolock.sh
deleted file mode 100755 (executable)
index 88e2733..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-# interlock - wrap program invocation in lock to allow
-#             parallel builds to work.
-# Written by Tom Tromey <tromey@cygnus.com>, Aug 10 1996
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-# Usage:
-#   interlock lock-dir-name program args-to-program...
-
-dirname="$1"
-program="$2"
-
-shift
-shift
-
-while (mkdir $dirname > /dev/null 2>&1 && exit 1 || exit 0); do
-   # Wait a bit.
-   sleep 1
-done
-
-# Race condition here: if interrupted after the loop but before this
-# trap, the lock can be left around.
-trap "rmdir $dirname > /dev/null 2>&1" 1 2 3 15
-
-# We have the lock, so run the program.
-$program ${1+"$@"}
-ret=$?
-
-# Release the lock.
-rmdir $dirname > /dev/null 2>&1
-
-exit $ret
index 9866d4b8aa8ce27fe6e35260dfe02591843f14f3..3c711edd80e502643c4d85c94d81ae13caafc29b 100644 (file)
@@ -3,6 +3,7 @@ AC_REVISION([$CVSid$])
 AC_PREREQ(2.11)dnl             dnl Minimum Autoconf version required.
 AC_INIT(include/features.h)
 AC_CONFIG_HEADER(config.h)
+AC_CONFIG_AUX_DIR(scripts)
 
 # This will get text that should go into config.make.
 config_vars=
index d00a3cb5868691c77569164eb56fc4493f8bfbc8..bc36978ebbd6ca73f566bc452f7c652b7aab0df0 100644 (file)
@@ -64,6 +64,10 @@ define find-includes
 mv -f $@.new $@
 endef
 
+# scripts we use
+move-if-change = $(..)scripts/move-if-change
+mkinstalldirs = $(..)scripts/mkinstalldirs
+
 libc.dvi libc.info: $(chapters) summary.texi $(chapters-incl)
 libc.dvi: texinfo.tex
 
@@ -78,9 +82,8 @@ summary.texi: stamp-summary ;
 stamp-summary: summary.awk $(chapters) $(chapters-incl)
        $(AWK) -f $^ \
        | sort -df +1 -2 | tr '\014' '\012' > summary-tmp
-       ./move-if-change summary-tmp summary.texi
-# touch is broken on our machines.  Sigh.
-       date > $@
+       $(move-if-change) summary-tmp summary.texi
+       touch $@
 
 # Generate a file which can be added to the `dir' content to provide direct
 # access to the documentation of the function, variables, and other
@@ -102,10 +105,10 @@ dir-add.texinfo: xtract-typefun.awk $(chapters) $(chapters-incl)
        mv -f $@.new $@
 
 
-minimal-dist = summary.awk move-if-change libc.texinfo $(chapters)     \
+minimal-dist = summary.awk libc.texinfo $(chapters)                    \
               $(patsubst %.c.texi,examples/%.c,                        \
                          $(filter-out summary.texi,$(chapters-incl)))
-doc-only-dist = Makefile COPYING.LIB mkinstalldirs
+doc-only-dist = Makefile COPYING.LIB
 distribute = $(minimal-dist)                                           \
             $(patsubst examples/%.c,%.c.texi,$(filter examples/%.c,    \
                        $(minimal-dist)))                               \
@@ -171,8 +174,8 @@ $(inst_infodir)/libc.info: libc.info installdirs
            `echo $@ | sed "s,$<\$$,$$name,"`; \
        done
 
-installdirs: $(firstword $(wildcard mkinstalldirs ../mkinstalldirs))
-       $(dir $<)$(notdir $<) $(inst_infodir)
+installdirs:
+       $(mkinstalldirs) $(inst_infodir)
 
 .PHONY: dist
 dist: # glibc-doc-$(edition).tar.gz
@@ -212,13 +215,12 @@ stubs: $(objpfx)stubs
 endif
 $(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
        $(make-target-directory)
-       cp /dev/null $@
-
+       touch $@
 
 # Make the target directory if it doesn't exist, using the `mkinstalldirs'
 # script that does `mkdir -p' even if `mkdir' doesn't support that flag.
 define make-target-directory
-$(addprefix $(..)./mkinstalldirs ,\
+$(addprefix $(mkinstalldirs) ,\
            $(filter-out $(wildcard $(@D:%/=%)),$(@D:%/=%)))
 endef
 
similarity index 100%
rename from =__ify
rename to scripts/=__ify
similarity index 100%
rename from config.guess
rename to scripts/config.guess
similarity index 100%
rename from config.sub
rename to scripts/config.sub
similarity index 100%
rename from gen-FAQ.pl
rename to scripts/gen-FAQ.pl
similarity index 100%
rename from install-sh
rename to scripts/install-sh
similarity index 100%
rename from mkinstalldirs
rename to scripts/mkinstalldirs
similarity index 100%
rename from move-if-change
rename to scripts/move-if-change
similarity index 100%
rename from printsources
rename to scripts/printsources
similarity index 100%
rename from rellns-sh
rename to scripts/rellns-sh
old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from test-installation.pl
rename to scripts/test-installation.pl
index 948920dfc14a695e2d6590bc52447415c7042e7a..3719d570161290503e3684e3faa91c5651406e5b 100644 (file)
@@ -90,7 +90,7 @@ $(common-objpfx)stamp-errnos: $(hurd)/errnos.awk $(errno.texinfo) \
        $(AWK) -f $^ > $(hurd)/errnos.h-tmp
 # Make it unwritable so noone will edit it by mistake.
        -chmod a-w $(hurd)/errnos.h-tmp
-       ./$(..)move-if-change $(hurd)/errnos.h-tmp $(hurd)/errnos.h
+       ./$(..)scripts/move-if-change $(hurd)/errnos.h-tmp $(hurd)/errnos.h
 ifeq ($(with-cvs),yes)
        test ! -d $(hurd)/CVS || \
          (cd $(hurd) && cvs commit -m'Regenerated from $^' errnos.h)
index 1c28d86d2b85e6feb93922af19687bf68fe37589..9b436e17ff1e3394fd23bfcff694dcf4d30ff5c9 100644 (file)
@@ -143,7 +143,7 @@ $(installed-localtime-file): $(inst_zonedir)/$(localtime) $(objpfx)zic \
          echo Site timezone NOT reset to Factory.; \
        else \
          rm -f $@T; \
-         $(SHELL) $(..)/rellns-sh $< $@T; \
+         $(SHELL) $(..)scripts/rellns-sh $< $@T; \
          mv -f $@T $@; \
        fi
 endif