From 2e16a856ee6766267798ffe55239fb6feb4699ad Mon Sep 17 00:00:00 2001 From: Matthias Frei Date: Fri, 15 Dec 2023 15:17:49 +0100 Subject: [PATCH] make: add explanation and reference to .deb file format --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77c9ed31df..d4527c3a51 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ dist-deb: bazel build //dist:deb_all mkdir -p deb; rm -f deb/*; @ # Bazel cannot include the version in the filename. - @ # Extract the version from the .deb files and expand the "__" in the filename to "__". + @ # Extract the version from the .deb "control" manifest and expand the "__" in the filename to "__". + @ # See e.g. https://en.wikipedia.org/wiki/Deb_(file_format)#Control_archive @for f in `bazel cquery //dist:deb_all --output=files 2>/dev/null`; do \ if [ -f "$$f" ]; then \ bf=`basename $$f`; \