List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Makefile improvements
@ 2013-03-06 21:22 john
  2013-03-06 21:22 ` [PATCH v3 1/4] Makefile: re-use Git's Makefile where possible john
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: john @ 2013-03-06 21:22 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-20 19:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-06 21:22 [PATCH v3 0/4] Makefile improvements john
2013-03-06 21:22 ` [PATCH v3 1/4] Makefile: re-use Git's Makefile where possible john
2013-03-20 19:33   ` Jason
2013-03-06 21:22 ` [PATCH v3 2/4] ui-patch: use cgit_version not CGIT_VERSION john
2013-03-06 21:22 ` [PATCH v3 3/4] cgit.mk: don't rebuild everything if CGIT_VERSION changes john
2013-03-07  8:03   ` 
2013-03-07  8:16     ` cgit
2013-03-07  9:07       ` john
2013-03-07  9:49         ` 
2013-03-06 21:22 ` [PATCH v3 4/4] cgit.mk: Use SHELL_PATH_SQ to run gen-version.sh john
2013-03-20 19:34 ` [PATCH v3 0/4] Makefile improvements Jason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).