Skip to content

RFC Prepare the Makefile and scripts/ for releasing

Alejandro Colomar linux-man 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scripts/remove_COLOPHON.sh: Allow passing directories to the scriptscripts/remove_COLOPHON.sh+3 -30 replies
2/3scripts/append_COLOPHON.sh: Add script to append the COLOPHON sectionscripts/append_COLOPHON.sh+38 -00 replies
3/3Makefile: dist: Add target to create distribution archivesMakefile+49 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] Prepare the Makefile and scripts/ for releasing

Hi!

I'm preparing the Makefile and scripts to be able to release without hidden scripts, just from the repository. I put in the Makefile everything that can be done incrementally (or at least idempotently, since tar(1) doesn't really allow incrementally creating an archive, unlike ar(1)), and in scripts what can't (i.e., the COLOPHON generation).

I tried to follow conventions (from GNU and others) as much as possible.

The COLOPHON format was kept as I see it in existing pages in my system, with one difference: until now, the URI in the COLOPHON wasn't being enclosed in <> (the script didn't use .UR/.UE). I fixed that.

Now one can generate DISTFILES (.tar, .tar.gz, and .tar.xz files) simply with the following commands. The version number is taken from git.

./scripts/append_COLOPHON.sh
make dist-gz

Of course, the generation of the COLOPHON is not a dependency for the generation of the tarballs, but it's likely that both commands will be run together.

Cheers,

Alex

Alejandro Colomar (3):
scripts/remove_COLOPHON.sh: Allow passing directories to the script scripts/append_COLOPHON.sh: Add script to append the COLOPHON section
Makefile: dist: Add target to create distribution archives

 Makefile                   | 49 ++++++++++++++++++++++++++++++++++++++
 scripts/append_COLOPHON.sh | 38 +++++++++++++++++++++++++++++
 scripts/remove_COLOPHON.sh |  6 ++---
 3 files changed, 90 insertions(+), 3 deletions(-)
 create mode 100755 scripts/append_COLOPHON.sh
Signature · 1 line
2.30.2