about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Keeping2013-03-06 21:22:08 +0000
committerJason A. Donenfeld2013-03-20 21:08:32 +0100
commitd6768a67093166810621d2521f10fd016bd75721 (patch)
tree8eb04db917f11a34d3910376fb9494bb0563c7fd /Makefile
parentui-patch: use cgit_version not CGIT_VERSION (diff)
downloadcgit-d6768a67093166810621d2521f10fd016bd75721.tar.gz
cgit-d6768a67093166810621d2521f10fd016bd75721.zip
cgit.mk: don't rebuild everything if CGIT_VERSION changes
If CGIT_VERSION is in CGIT_CFLAGS then a change in version (for example
because you have committed your changes) causes all of the CGit objects
to be rebuilt.  Avoid this by using EXTRA_CPPFLAGS to add the version
for only those files that are affected and make them depend on VERSION.

Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions