From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QcNM7-0007wK-Td for garchives@archives.gentoo.org; Thu, 30 Jun 2011 19:56:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C0B41C004; Thu, 30 Jun 2011 19:56:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D43281C004 for ; Thu, 30 Jun 2011 19:56:47 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43FF41B4060 for ; Thu, 30 Jun 2011 19:56:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6FFA38003C for ; Thu, 30 Jun 2011 19:56:46 +0000 (UTC) From: "Matthias Schwarzott" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Schwarzott" Message-ID: Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: / X-VCS-Repository: proj/udev-gentoo-scripts X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: zzam X-VCS-Committer-Name: Matthias Schwarzott X-VCS-Revision: a36dc6bb320ab9f08b5db8d6b24740f36d18ab51 Date: Thu, 30 Jun 2011 19:56:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 3c6743fb3985e2b8047c29a16264ab7d commit: a36dc6bb320ab9f08b5db8d6b24740f36d18ab51 Author: Matthias Schwarzott gentoo org> AuthorDate: Wed Jun 8 10:50:52 2011 +0000 Commit: Matthias Schwarzott gentoo org> CommitDate: Wed Jun 8 10:50:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/udev-gentoo-s= cripts.git;a=3Dcommit;h=3Da36dc6bb make dist: Add check for uncommited changes --- Makefile | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 5c69b7c..802c764 100644 --- a/Makefile +++ b/Makefile @@ -43,11 +43,15 @@ install: @install -m 0644 rc/confd/udev.confd $(DESTDIR)$(CONFD)/udev @install -m 0755 rc/baselayout1/* $(DESTDIR)$(RCADDON) =20 +check-git-repository: + git diff --quiet || { echo 'STOP, you have uncommitted changes in the w= orking directory' ; false ; } + git diff --cached --quiet || { echo 'STOP, you have uncommitted changes= in the index' ; false ; } + test: @echo "Running tests" @./test-kv.sh =20 -dist: test +dist: check-git-repository test git archive --format=3Dtar --prefix=3D$(DESTNAME)/ HEAD | bzip2 > $(DES= TNAME).tar.bz2 =20 .PHONY: install test