git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/nfpm/Makefile
diff options
context:
space:
mode:
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/