Hi,
I have this rule:
$(VRO_DIR)/%.vro $(INCLUDE_DIR)/%.vrh: ./vera/%.vr
$(VERA) -h ./vera/$*.vr . && vrhfix ./$*.vrh ./vera/$*.vr
@if [ ! -d $(INCLUDE_DIR) ]; then mkdir $(INCLUDE_DIR); fi
mv $*.vrh $(INCLUDE_DIR)
@if [ ! -d $(VRO_DIR) ]; then mkdir $(VRO_DIR); fi
mv $*.vro $(VRO_DIR)
And sometimes, not all the times, I get an error message:
vera -h ./vera/system_cfg.vr . && vrhfix ./system_cfg.vrh ./vera/system_cfg.vr
mv: cannot stat `./.tmp.system_cfg.vrh': No such file or directory
Couldn't write ./system_cfg.vrh
make[3]: *** [/work/verif1/shared/vro/system_cfg.vro] Error 1
All the pattern substitutions seems to take place properly, except for the
mv operation.
How can $* on the third line (first mv) change from "system.cfg" to
".tmp.system_cfg"??
I'm running linux and the file server is solaris.
Martin
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make