mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Remove files distributed via gnulib from version control.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,6 +5,9 @@
|
||||
.#*
|
||||
\#*#
|
||||
|
||||
# Files brought in by gnulib-tool:
|
||||
mkinstalldirs
|
||||
|
||||
# Files generated by the autotools:
|
||||
/configure
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Remove autotools generated files from version control.
|
||||
|
||||
16
autogen.sh
16
autogen.sh
@@ -5,6 +5,10 @@
|
||||
# autoconf.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
@@ -23,6 +27,18 @@
|
||||
|
||||
# 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 src/config.h.in src/config.h.msvc src/config.h_vms
|
||||
make -f Makefile.devel
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user