summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2009-12-29 13:41:50 +0100
committerDaniel Elstner <daniel.kitta@gmail.com>2009-12-29 13:41:50 +0100
commit4aac599ca77a0028163dc6d34ad200e4d4b45b09 (patch)
treef86d49de452cd38fc72590d46aef3bd4ad39d4bf
parent8a3c3ac5734e9df59bada0086710a0f8184e78f1 (diff)
downloadmm-common-4aac599ca77a0028163dc6d34ad200e4d4b45b09.tar.gz
Do not rely on executable ./missing script
* Makefile.am (skeletonmm.tar.gz): Just to be safe, invoke ./missing with $(SHELL) instead of relying on its direct executability.
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index fca59d4..e43cb9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -112,6 +112,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 -
# If maintainer mode is enabled, always check the remote locations
# of the tag files for updates when building the default target.
@@ -138,6 +139,6 @@ util/mm-common-prepare.1: $(srcdir)/util/mm-common-prepare.1.in Makefile
# Create tar archive of skeletonmm for installation.
skeletonmm.tar.gz: $(skeletonmm_files)
- $(AM_V_GEN)(cd $(srcdir) && ./missing --run tar chof - $(skeletonmm_files)) | gzip -c >$@
+ $(AM_V_GEN)($(srctar_stdout) $(skeletonmm_files)) | gzip -c >$@
include $(top_srcdir)/build/dist-changelog.am