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 7ABFE1397EC for ; Thu, 20 Aug 2015 01:44:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F48314225; Thu, 20 Aug 2015 01:44:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9BA914225 for ; Thu, 20 Aug 2015 01:44:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02EE0340AEF for ; Thu, 20 Aug 2015 01:44:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAC1D15A for ; Thu, 20 Aug 2015 01:44:22 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1440035052.e94f322eca85076f3e374f22d2e54a2a929a0199.zerochaos@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: e94f322eca85076f3e374f22d2e54a2a929a0199 X-VCS-Branch: master Date: Thu, 20 Aug 2015 01:44:22 +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: 2dd79dbc-2e25-4a08-9316-55277e8ceac3 X-Archives-Hash: aede9048c133cb9731d93ca0620fad35 commit: e94f322eca85076f3e374f22d2e54a2a929a0199 Author: Rick Farina (Zero_Chaos) gentoo org> AuthorDate: Thu Aug 20 01:44:12 2015 +0000 Commit: Richard Farina gentoo org> CommitDate: Thu Aug 20 01:44:12 2015 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e94f322e add a target for make distclean Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 79d3be9..dafda0e 100644 --- a/Makefile +++ b/Makefile @@ -24,8 +24,7 @@ check-git-repository: git diff --quiet || { echo 'STOP, you have uncommitted changes in the working directory' ; false ; } git diff --cached --quiet || { echo 'STOP, you have uncommitted changes in the index' ; false ; } -dist: check-git-repository $(EXTRA_DIST) - rm -Rf "$(distdir)" "$(distdir)".tar "$(distdir)".tar.xz +dist: check-git-repository $(EXTRA_DIST) distclean mkdir "$(distdir)" git ls-files -z | xargs -0 cp --no-dereference --parents --target-directory="$(distdir)" \ $(EXTRA_DIST) @@ -33,4 +32,7 @@ dist: check-git-repository $(EXTRA_DIST) xz -v "$(distdir)".tar rm -Rf "$(distdir)" -.PHONY: clean check-git-repository dist +distclean: clean + rm -Rf "$(distdir)" "$(distdir)".tar "$(distdir)".tar.xz + +.PHONY: clean check-git-repository dist distclean