From 6c34b541976eac240089ab791063556086c806f3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 5 Jun 2024 09:33:48 -0400 Subject: [PATCH] Add dist script to simplify release work Signed-off-by: Simo Sorce --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 200ba6d1..510352d6 100644 --- a/Makefile +++ b/Makefile @@ -46,3 +46,10 @@ generate-docs: manfile=`echo $${mdfile} | sed s/\.md//`; \ pandoc --standalone --to man $${mdfile} -o $${manfile}; \ done + +dist: + rm -fr distdir + meson setup distdir + meson compile -C distdir pkcs11 + meson test -C distdir + meson dist -C distdir