From fb7ba90bdff5a911cf8f92bbfc4b2a21123902d1 Mon Sep 17 00:00:00 2001
From: Harald Pfeiffer <coding@lirion.de>
Date: Sun, 1 Dec 2024 16:06:52 +0100
Subject: Create build directory, offer to clean out

---
 nfpm/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'nfpm')

diff --git a/nfpm/Makefile b/nfpm/Makefile
index c2aacbf..fa22a2a 100644
--- a/nfpm/Makefile
+++ b/nfpm/Makefile
@@ -6,13 +6,19 @@ skel:
 build: build-deb build-rpm build-arch
 
 build-deb:
+	@mkdir -pv ./build
 	@nfpm pkg --packager deb --target ./build/
 
 build-rpm:
+	@mkdir -pv ./build
 	@nfpm pkg --packager rpm --target ./build/
 
 build-arch:
+	@mkdir -pv ./build
 	@nfpm pkg --packager archlinux --target ./build/
 
 chglog:
 	@chglog init
+
+clean:
+	@rm -rv ./build
-- 
cgit v1.2.3