Skip to content

Commit

Permalink
make: add explanation and reference to .deb file format
Browse files Browse the repository at this point in the history
  • Loading branch information
matzf committed Dec 15, 2023
1 parent bdbf24c commit 2e16a85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "_<version>_".
@ # Extract the version from the .deb "control" manifest and expand the "__" in the filename to "_<version>_".
@ # 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`; \
Expand Down

0 comments on commit 2e16a85

Please sign in to comment.