Commit message (Collapse) | Author | ||
---|---|---|---|
2013-03-20 | cgit.mk: don't rebuild everything if CGIT_VERSION changes | John Keeping | |
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> | |||
2013-03-20 | ui-patch: use cgit_version not CGIT_VERSION | John Keeping | |
We already have a global cgit_version which is set from the #define'd CGIT_VERSION in cgit.c. Change ui-patch.c to use this so that we only need to rebuild cgit.o when the version changes. Signed-off-by: John Keeping <john@keeping.me.uk> | |||
2013-03-20 | Makefile: re-use Git's Makefile where possible | John Keeping |