6 Commits

Author SHA1 Message Date
Pim van Pelt 312e9245f8 Rework build system
Replace the dpkg-buildpackage / debhelper rig with the same pattern
used in vpp-maglev and govpp-snmp-agentx: a Makefile that
cross-compiles CGO-free static binaries for amd64 and arm64, plus a
debian/build-deb.sh that stages the .deb directly with dpkg-deb. The
two arch packages drop into build/ and run on any glibc/musl Linux of
the matching arch.

VERSION is parsed once from debian/changelog and injected at link
time via -ldflags "-X 'main.Version=...' -X 'main.Commit=...' -X
'main.Date=...'", so 's3-genindex -version' is the source of truth
for which build is running. The Version constant in main.go becomes
a var to make this work; the old sync-version make target is gone.

Removes the now-unused debian/{control,rules,install,compat} files
and the matching debhelper artifact entries from .gitignore. build/
is added to .gitignore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 20:11:55 +02:00
Pim van Pelt bd0201b6d3 Add Debian package building, add manpage, release v1.0.0 2025-12-03 17:22:33 +01:00
Pim van Pelt 36e5d33c49 Fix bug in .gitignore, add back *.go 2025-12-03 00:10:38 +01:00
Pim van Pelt 28e4e0227a Remove index.html in any dir 2025-12-03 00:07:44 +01:00
Pim van Pelt fcbf4a595c Update mods, remove index.html 2025-12-03 00:03:47 +01:00
Pim van Pelt c3b57c02e3 Initial checkin 2025-12-02 23:47:17 +01:00