]> gitweb.ps.run Git - ps-cgit/commitdiff
cgit.mk: don't rebuild everything if CGIT_VERSION changes
authorJohn Keeping <john@keeping.me.uk>
Wed, 6 Mar 2013 21:22:08 +0000 (21:22 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Mar 2013 20:08:32 +0000 (21:08 +0100)
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>

No differences found