On Wed, Mar 6, 2013 at 10:22 PM, John Keeping <[email protected]> wrote:
> +$(CGIT_PREFIX)CGIT-CFLAGS: FORCE
> +       @FLAGS='$(subst ','\'',$(CGIT_CFLAGS))'; \
> +           if test x"$$FLAGS" != x"`cat ../CGIT-CFLAGS 2>/dev/null`" ; then \
> +               echo 1>&2 "    * new CGit build flags"; \
> +               echo "$$FLAGS" >$(CGIT_PREFIX)CGIT-CFLAGS; \
> +            fi
> +

I understand the desire to track cflags changes and only rebuild
certain parts, etc, but the notion of creating an extra file for this
isn't too nice. I suppose this is the only way to do it though.

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to