From 00b51e3292062f52a4699440cb36b3aa337dbd17 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Wed, 29 Jul 2026 10:30:33 +0200 Subject: build: add `make dist` source-tarball target + .gitattributes export-ignore - `make dist` runs git archive to write clectio-$(VERSION).tar.gz: a snapshot of the committed tree only -- no .git history, and no build artifacts (they are untracked, so git archive can't include them). VERSION defaults to 1.0, overridable (make dist VERSION=x). `clean` removes the tarball; it is gitignored. - .gitattributes marks .gitignore and .gitattributes export-ignore, so they stay out of the shipped source tarball. Claude-Session: https://claude.ai/code/session_01S1CD1u3tgSS4xNu6WHfp5a --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index afba2cb..b29c99a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ /text.lz.h /gen/verses_of.keys /gen/verses_ef.keys +/clectio-*.tar.gz *.o -- cgit v1.3