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

List:       netbsd-tech-toolchain
Subject:    Re: make dependency on parts of a file
From:       Edgar =?iso-8859-1?B?RnXf?= <ef () math ! uni-bonn ! de>
Date:       2014-04-04 17:29:46
Message-ID: 20140404172946.GM45725 () trav ! math ! uni-bonn ! de
[Download RAW message or body]

> B.reference: B
> 	if diff -q B.reference B; then cp B B.reference; fi
You mean ! diff, do you?

> If that doesn't work
It does work, I think.
I had something similar in my head but managed to convince myself that 
it wouldn't work.

> 	if diff -q B.reference B; then cp B B.reference && $(MAKE) C; fi
That's recursive make, which I'm trying to avoid.

Thanks!
[prev in list] [next in list] [prev in thread] [next in thread] 

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