[PATCH v3 0/4] Makefile improvements
John Keeping
john at keeping.me.uk
Wed Mar 6 22:22:05 CET 2013
I realised that we already have a global cgit_version so that ui-patch.c
doesn't need to reference the #define'd CGIT_VERSION, meaning that we
can reduce the set of files using that definition to cgit.c. Patch 2
(new) changes this.
Patch 3 (previously patch 2) is modified to remove ui-patch.c from the
list of files that depend on CGIT_VERSION.
Patch 4 is a new unrelated change to fix the build on systems with
unusual shells in "/bin/sh".
John Keeping (4):
Makefile: re-use Git's Makefile where possible
ui-patch: use cgit_version not CGIT_VERSION
cgit.mk: don't rebuild everything if CGIT_VERSION changes
cgit.mk: Use SHELL_PATH_SQ to run gen-version.sh
.gitignore | 1 +
Makefile | 124 +++----------------------------------------------------------
cgit.mk | 81 ++++++++++++++++++++++++++++++++++++++++
ui-patch.c | 2 +-
4 files changed, 88 insertions(+), 120 deletions(-)
create mode 100644 cgit.mk
--
1.8.2.rc2.4.g7799588
More information about the CGit
mailing list