git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormail_redacted_for_web 2024-07-28 13:08:51 +0200
committermail_redacted_for_web 2024-07-28 13:08:51 +0200
commit3c8442aacf7a2f37a0a4e9550cdf637a51f9f57d (patch)
tree06ebf80d8ffccea3cf38de7297966830566bd2c6 /Makefile
downloadgoreleaser-chglog-3c8442aacf7a2f37a0a4e9550cdf637a51f9f57d.tar.bz2
InComm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0e463fe
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+all: makepkg
+
+makepkg: makepkg-x86_64 makepkg-arm64
+
+makepkg_x86_64:
+ CARCH="x86_64" /usr/bin/makepkg --sign
+
+makepkg_arm64:
+ CARCH="arm64" /usr/bin/makepkg --sign
+
+clean: clean-pkg clean-pkgdir clean-srcdir clean-src
+
+clean-pkg:
+ rm -vf goreleaser-chglog-bin-0.6.1-1-{x86_64,arm64}.pkg.tar.zst{,.sig}
+
+clean-pkgdir:
+ rm -vfr pkg/
+
+clean-src:
+ rm -vf chglog_Linux_{x86_64,arm64}.tar.gz
+
+clean-srcdir:
+ rm -vfr src/