[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    [PATCH v3 1/4] Makefile: re-use Git's Makefile where possible
From:       Jason () zx2c4 ! com (Jason A !  Donenfeld)
Date:       2013-03-20 19:33:54
Message-ID: CAHmME9qP0qTv2_e_HPzzS1OWUyqOwBc=OBFd=HD2F1BL2o-qZw () mail ! gmail ! com
[Download RAW message or body]

On Wed, Mar 6, 2013 at 10:22 PM, John Keeping <john at keeping.me.uk> 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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic