diff --git a/.gitignore b/.gitignore index 3d9d191..8a8e529 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ \#*# # Files brought in by gnulib-tool: +install-sh mkinstalldirs # Files generated by the autotools: diff --git a/ChangeLog b/ChangeLog index 3585894..e5fa28f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-07-01 Bruno Haible + + Distribute install-sh. + * autogen.sh: Fetch also install-sh. + * Makefile.in (IMPORTED_FILES): Add install-sh. + * configure.ac: Remove hack with AC_CONFIG_AUX_DIR_DEFAULT. + * .gitignore: Add install-sh. + 2012-07-01 Bruno Haible Remove files distributed via gnulib from version control. diff --git a/Makefile.in b/Makefile.in index 12c8da6..b91c78d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -64,7 +64,7 @@ SOURCE_FILES = \ configure.ac aclocal.m4 Makefile.in Makefile.msvc Makefile.vms \ Makefile.devel ChangeLog # List of distributed files imported from other packages. -IMPORTED_FILES = COPYING INSTALL mkinstalldirs +IMPORTED_FILES = COPYING INSTALL install-sh mkinstalldirs # List of distributed files generated by autotools or Makefile.devel. GENERATED_FILES = configure # List of distributed files generated by "make". diff --git a/autogen.sh b/autogen.sh index c76f1dd..bb68456 100755 --- a/autogen.sh +++ b/autogen.sh @@ -29,7 +29,7 @@ GNULIB_REPO_URL="http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f=" -for file in mkinstalldirs; do +for file in install-sh mkinstalldirs; do if test -n "$GNULIB_TOOL"; then $GNULIB_TOOL--copy-file build-aux/$file $file else @@ -37,7 +37,7 @@ for file in mkinstalldirs; do && mv $file.tmp $file fi done -chmod a+x mkinstalldirs +chmod a+x install-sh 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 diff --git a/configure.ac b/configure.ac index 2c19e89..c60db0a 100644 --- a/configure.ac +++ b/configure.ac @@ -25,10 +25,6 @@ AC_PROG_MAKE_SET AC_OBJEXT AC_EXEEXT -dnl An autoconf-2.52 bug: AC_CONFIG_SUBDIRS requires AC_CONFIG_AUX_DIR_DEFAULT, -dnl if the package does not ship with install-sh, install.sh, or shtool. -ac_aux_dir=$srcdir -AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT]) AC_CONFIG_SUBDIRS([lib src tests doc]) dnl This piece of sed script replaces every line containing '@subdir@'