Skip to content

contrib/subtree/Makefile: Standardisation pass

James Denholm git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 2 repliesIn review
  2. v2 posting 1/25 patches 8 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5contrib/subtree/Makefile: scrap unused $(gitdir)contrib/subtree/Makefile+0 -10 replies
2/5contrib/subtree/Makefile: Use GIT-VERSION-FILEcontrib/subtree/Makefile+8 -30 replies
3/5contrib/subtree/Makefile: s/libexecdir/gitexecdircontrib/subtree/Makefile+3 -30 replies
4/5contrib/subtree/Makefile: Doc-gen rules cleanupcontrib/subtree/Makefile+8 -50 replies
5/5contrib/subtree/Makefile: clean rule cleanupcontrib/subtree/Makefile+4 -30 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff KingDan McGee
SeriesR-b Based-on-patch-by
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] contrib/subtree/Makefile: Standardisation pass

contrib/subtree/Makefile is a shambles in regards to it's consistency with other makefiles, which makes subtree overly painful to include in build scripts.

The main issues are that calls are made to git itself in the build process, and that a subtree-exclusive variable is used for specifying the exec path. Patches 1/5 through 3/5 resolve these.

The "cleanup" fixes (4/5 and 5/5) are based on precedents set by other makefiles across the project.

One problem is foreseen: 3/5 will necessitate that package maintainers who already have git-subtree included in their packages update their build-scripts.

James Denholm (5):
contrib/subtree/Makefile: scrap unused $(gitdir) contrib/subtree/Makefile: Use GIT-VERSION-FILE contrib/subtree/Makefile: s/libexecdir/gitexecdir contrib/subtree/Makefile: Doc-gen rules cleanup contrib/subtree/Makefile: clean rule cleanup

 contrib/subtree/Makefile | 38 +++++++++++++++++++++++---------------
 1 file changed, 23 insertions(+), 15 deletions(-)
Signature · 1 line
1.9.2