From patchwork Wed Dec 11 15:49:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 2641 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 47Y1ZW2Wqhz43dD for ; Wed, 11 Dec 2019 15:49:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 47Y1ZT1wdGz2fq; Wed, 11 Dec 2019 15:49:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 47Y1ZS6tZ6z2yCW; Wed, 11 Dec 2019 15:49:20 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 47Y1ZR37Fdz2xnq; Wed, 11 Dec 2019 15:49:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 47Y1ZQ4nRQz228; Wed, 11 Dec 2019 15:49:18 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1576079359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=avs7/4GdNch6mJ3SjEYY33a44oLfyaN8i7B3e8sPwyg=; b=U7Ltv8X0LWhIQGnxKXOGMdXdFsKpqO+5SMeTcOFN4p58RGgKTKQBlMZHEcqV2uMnEd35yr s1IoQCISLFBz3hCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1576079359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=avs7/4GdNch6mJ3SjEYY33a44oLfyaN8i7B3e8sPwyg=; b=fPeOpwNTu56LNO/1du3xsNVKPPo0zwPmOV8IoHJHtpkX4zOVNIurT9JqgRYSk7n2G/PBJc nrW+3w/LIkSRJFP0TZpfpcqWPfOMWuZfd46dKOJdeIBVzSyI75/b/BfXYYY/GfHJlaoEfr 9iE2Yl5RY68nq3xdBppkc95xm1KZjv8rL14fB5jMTV5PfTBzi8Mq5MdnrN0OXY06RJRlyF KWz63MF+/E2mmdUMaIDLrJzp2DKz59+c1mw5/WGSzEmRG6nAVXhLkgfZVyI4BX+z6H9wdh aXZPIxL+U6PZcd+XWSQeWq41bLzKTlrlP50snDYVjI9QeS7xwwfpCWImDXhg+w== From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH] Makefile: Build debian packages in own directory. Date: Wed, 11 Dec 2019 16:49:12 +0100 Message-Id: <20191211154912.2130-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=stevee smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: location@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: development@lists.ipfire.org Errors-To: location-bounces@lists.ipfire.org Sender: "Location" This helps to keep a much cleaner environment. Signed-off-by: Stefan Schantl --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 1b9d90e..bf1dde1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -421,4 +421,8 @@ $(DEBIAN_TARBALL_NAME): dist .PHONY: debian debian: $(DEBIAN_TARBALL_NAME) - debuild -i -us -uc -b + mkdir -pv debian-build/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/debian + cp -avf $(DEBIAN_TARBALL_NAME) debian-build + cp -avf debian/* debian-build/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/debian + cd debian-build && tar -xvf $(DEBIAN_TARBALL_NAME) + cd debian-build/$(PACKAGE_NAME)-$(PACKAGE_VERSION) && debuild -us -uc