1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Remove files distributed via gnulib from version control.

This commit is contained in:
Bruno Haible
2012-07-01 16:22:19 +02:00
parent 008922a2e9
commit 9702bc0bff
4 changed files with 26 additions and 40 deletions

3
.gitignore vendored
View File

@@ -5,6 +5,9 @@
.#* .#*
\#*# \#*#
# Files brought in by gnulib-tool:
mkinstalldirs
# Files generated by the autotools: # Files generated by the autotools:
/configure /configure

View File

@@ -1,3 +1,10 @@
2012-07-01 Bruno Haible <bruno@clisp.org>
Remove files distributed via gnulib from version control.
* autogen.sh: Fetch mkinstalldirs from the gnulib repository.
* mkinstalldirs: Remove file.
* .gitignore: Add mkinstalldirs.
2012-07-01 Bruno Haible <bruno@clisp.org> 2012-07-01 Bruno Haible <bruno@clisp.org>
Remove autotools generated files from version control. Remove autotools generated files from version control.

View File

@@ -5,6 +5,10 @@
# autoconf. # autoconf.
# #
# This script requires autoconf-2.60..2.69 in the PATH. # This script requires autoconf-2.60..2.69 in the PATH.
# It also requires either
# - the GNULIB_TOOL environment variable pointing to the gnulib-tool script
# in a gnulib checkout, or
# - an internet connection.
# Copyright (C) 2003-2012 Free Software Foundation, Inc. # Copyright (C) 2003-2012 Free Software Foundation, Inc.
# #
@@ -23,6 +27,18 @@
# Usage: ./autogen.sh # Usage: ./autogen.sh
GNULIB_REPO_URL="http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f="
for file in mkinstalldirs; do
if test -n "$GNULIB_TOOL"; then
$GNULIB_TOOL--copy-file build-aux/$file $file
else
wget -q --timeout=5 -O $file.tmp "${GNULIB_REPO_URL}build-aux/$file" \
&& mv $file.tmp $file
fi
done
chmod a+x mkinstalldirs
rm -f configure lib/configure src/configure tests/configure doc/configure rm -f configure lib/configure src/configure tests/configure doc/configure
rm -f src/config.h.in src/config.h.msvc src/config.h_vms rm -f src/config.h.in src/config.h.msvc src/config.h_vms
make -f Makefile.devel make -f Makefile.devel

View File

@@ -1,40 +0,0 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id$
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# mkinstalldirs ends here