From patchwork Sun May 24 22:10:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: mail@rotty.xx.vu X-Patchwork-Id: 476008 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (tmp.osmocom.org [144.76.43.76]) by ozlabs.org (Postfix) with ESMTP id 207A01402B5 for ; Mon, 25 May 2015 08:11:10 +1000 (AEST) Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id B87351FF2; Sun, 24 May 2015 22:11:08 +0000 (UTC) X-Original-To: openbsc@lists.osmocom.org Delivered-To: openbsc@lists.osmocom.org Received: from yade.xx.vu (yade.xx.vu [78.47.92.94]) by lists.osmocom.org (Postfix) with ESMTP id 41A011FCB for ; Sun, 24 May 2015 22:11:07 +0000 (UTC) Received: from delenn.home.rotty.xx.vu (85-127-115-72.dynamic.xdsl-line.inode.at [85.127.115.72]) by yade.xx.vu (Postfix) with ESMTPSA id E507D23DAFA; Mon, 25 May 2015 00:11:04 +0200 (CEST) Received: by delenn.home.rotty.xx.vu (Postfix, from userid 1000) id 8338F320097; Mon, 25 May 2015 00:11:06 +0200 (CEST) From: Andreas Rottmann To: openbsc@lists.osmocom.org Subject: [PATCH 3/3] build: Fix "make distcheck" Date: Mon, 25 May 2015 00:10:06 +0200 Message-Id: <1432505406-25240-4-git-send-email-mail@rotty.xx.vu> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432505406-25240-1-git-send-email-mail@rotty.xx.vu> References: <1432505406-25240-1-git-send-email-mail@rotty.xx.vu> X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of the OpenBSC GSM base station controller List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andreas Rottmann Errors-To: openbsc-bounces@lists.osmocom.org Sender: "OpenBSC" From: Andreas Rottmann Running "make distcheck" failed trying to generate ".version" into the read-only unpacked source directory. Actually shipping ".version" in the tarball fixes that. The error manifested as: make[1]: Entering directory '/tmp/build/libosmo-sccp-0.0.6.3.24-758d/_build' echo 0.0.6.3.24-758d > ../.version-t && mv ../.version-t ../.version /bin/bash: ../.version-t: Permission denied Makefile:807: recipe for target '../.version' failed --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e300b31..534fdc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,8 @@ SUBDIRS = include src tests pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libosmo-sccp.pc libosmo-mtp.pc +EXTRA_DIST = .version + BUILT_SOURCES = $(top_srcdir)/.version $(top_srcdir)/.version: echo $(VERSION) > $@-t && mv $@-t $@