git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/nfpm/Makefile
diff options
context:
space:
mode:
authormail_redacted_for_web 2024-06-16 13:07:26 +0200
committermail_redacted_for_web 2024-06-16 13:07:26 +0200
commit14354b96301e252f52b5315e63b43f44dbac5314 (patch)
tree0fd91d25caa6a681ca8eaab4f3d3f6031afc0b3e /nfpm/Makefile
downloadlirion-initfunctions-14354b96301e252f52b5315e63b43f44dbac5314.tar.bz2
InComm
Diffstat (limited to 'nfpm/Makefile')
-rw-r--r--nfpm/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/nfpm/Makefile b/nfpm/Makefile
new file mode 100644
index 0000000..0224e8a
--- /dev/null
+++ b/nfpm/Makefile
@@ -0,0 +1,12 @@
+all: skel build
+
+skel:
+ @grep -vP '^[\t\ ]*#' nfpm.yaml.skel | tr -s '\n' > nfpm.yaml
+
+build: build-deb build-rpm
+
+build-deb:
+ @nfpm pkg --packager deb --target ./build/
+
+build-rpm:
+ @nfpm pkg --packager rpm --target ./build/