diff options
author | Krzesimir Nowak <qdlacz@gmail.com> | 2011-09-13 11:34:52 +0200 |
---|---|---|
committer | Krzesimir Nowak <qdlacz@gmail.com> | 2011-09-13 12:03:44 +0200 |
commit | 0bb50a28cfbd3ef8b913149090eaeaf0a3072f5f (patch) | |
tree | f076a395eb1589c4b0d54c5c98b5f437d2697cda | |
parent | 27f976e2a13dfbc75f106a371714790b626b2b9b (diff) | |
download | mm-common-0bb50a28cfbd3ef8b913149090eaeaf0a3072f5f.tar.gz |
Don't use missing for making skeleton tarball.
Missing script is rather intended to be used by maintainers, that
is - in maintainer mode, so just look for tar utility and use it
directly.
* configure.ac: Add check for tar utility.
* Makefile.am: Don't use missing for packaging skeleton files.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index aa81829..0bd8956 100644 --- a/Makefile.am +++ b/Makefile.am @@ -121,7 +121,7 @@ download_curl = $(CURL) --compressed --connect-timeout 300 -g -L -m 3600 -R --re download_wget = $(WGET) -N -nd -T 300 -t 5 -P $(dir $@) subst_manpage = $(SED) 's|[@]PACKAGE_STRING[@]|$(PACKAGE_STRING)|g;s|[@]docdir[@]|$(docdir)|g' -srctar_stdout = cd $(top_srcdir) >/dev/null && $(SHELL) ./missing --run tar chof - +srctar_stdout = cd $(top_srcdir) >/dev/null && $(SHELL) $(TAR) chof - # If maintainer mode is enabled, always check the remote locations # of the tag files for updates when building the default target. diff --git a/configure.ac b/configure.ac index b52e37f..10f2320 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,9 @@ AC_ARG_VAR([CURL], [curl transfer command]) AC_ARG_VAR([WGET], [wget download command]) AC_PROG_SED +dnl list of tar execs is taken from the generated ./missing script. +AC_CHECK_PROGS([TAR], [tar gnutar gtar], [no]) +AS_VAR_IF([TAR], [no], [AC_MSG_ERROR([tar utility not found])]) AC_CHECK_PROG([CURL], [curl], [curl]) AC_CHECK_PROG([WGET], [wget], [wget]) |