From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A892D138010 for ; Thu, 13 Sep 2012 05:13:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B4A1E04C8; Thu, 13 Sep 2012 05:13:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 114C1E04C8 for ; Thu, 13 Sep 2012 05:13:05 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A67F33CEA4 for ; Thu, 13 Sep 2012 05:13:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2F0DEE543C for ; Thu, 13 Sep 2012 05:13:04 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1347513222.949926e94f9752823800457dc43bd7f7d114b13e.vapier@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 949926e94f9752823800457dc43bd7f7d114b13e X-VCS-Branch: master Date: Thu, 13 Sep 2012 05:13:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3c103455-086e-4fc8-8e7c-8c79834771f9 X-Archives-Hash: cee35b67fd793f1f64f7cd560adeefa6 commit: 949926e94f9752823800457dc43bd7f7d114b13e Author: Mike Frysinger gentoo org> AuthorDate: Thu Sep 13 05:13:42 2012 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Sep 13 05:13:42 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commit;h=949926e9 check for .git before setting up $PV This avoids ugly warnings during `make install`. Signed-off-by: Mike Frysinger gentoo.org> --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 15e6e74..a36fa1f 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ install: $(INSTALL_EXEC) crossdev $(DESTDIR)/$(PREFIX)/bin/ $(MAKE) -C wrappers install -PV = $(shell date --date="`git log -1 --format=%ci`" +%Y%m%d) +PV = $(shell test -e .git && date --date="`git log -1 --format=%ci`" +%Y%m%d) P = crossdev-$(PV) COMP = xz dist: