#976: Cactus ignors (since r4839 ie #768) changes to param.ccl when recompiling -----------------------+---------------------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: review Priority: critical | Milestone: Component: Cactus | Version: Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment (by eschnett):
If DEP_EXCLUDE_FILES is empty, then we should consider removing the functionality, instead of only wrapping it in an if statement.
I suggest the following dependency fixer, which is (a) simpler, (b) easier to understand, and (c) better commented: {{{ # Replace the dependency targets (i.e. the LHS of the make rule) since it has the wrong name $(PERL) -pi -e 's{^[^:]+:}{$(basename $@).o $(basename $@).d:}' $@ }}}