Specifying the hcache directory asqa dependency for hcache/hcversion.h
means that the latter will be regenerated whenever the hcache directory
is changed, such as when object files are written into it. The net
effect is that "make; make" regenerates hcache/hcversion.h twice.
This commit fixes this problem by explicitely creating the hcache
directory as part of the hcache/hcversion.h target.
$(SRCDIR)/mutt/list.h $(SRCDIR)/mutt/buffer.h \
$(SRCDIR)/mutt/parameter.h $(SRCDIR)/body.h \
$(SRCDIR)/envelope.h $(SRCDIR)/header.h \
- $(SRCDIR)/hcache/hcachever.sh \
- $(PWD)/hcache
+ $(SRCDIR)/hcache/hcachever.sh
+ $(MKDIR_P) $(PWD)/hcache
( echo '#include "config.h"'; echo '#include "mutt.h"'; \
echo '#include "mutt/address.h"'; echo '#include "mutt/list.h"'; \
echo '#include "mutt/buffer.h"'; echo '#include "mutt/parameter.h"'; \