-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
None
-
beta
-
generic
-
generic
Name: dm26566 Date: 03/21/2001
Direct command invocations are not acceptable in J2SE make files. Instead,
the corresponding command variable should be used:
#
# Install the hprof prelude
#
$(LIBDIR)/jvm.hprof.txt: $(SHARE_SRC)/tools/hprof/jvm.hprof.txt
-$(RM) $@
mkdir -p $(LIBDIR)
$(CP) $< $@
($MKDIR) should be use instead of mkdir.
Actually, the use of $(MKDIR) or mkdir are both incorrect because they
mask a depency of this rule on $(LIBDIR), so the rule should really be:
#
# Install the hprof prelude
#
$(LIBDIR)/jvm.hprof.txt: $(SHARE_SRC)/tools/hprof/jvm.hprof.txt $(LIBDIR)
-$(RM) $@
$(CP) $< $@
======================================================================