Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4986734

Remove redundant commands in Makefiles for `clobber' target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P5 P5
    • 6
    • 6
    • infrastructure
    • generic
    • generic

      The images-clobber target in make/common/Release.gmk runs these commands:

      $(RM) -r $(TMP_JRE_IMAGE_DIR)
      $(RM) -r $(JDK_IMAGE_DIR)
      $(RM) -r $(JDK_DEBUG_IMAGE_DIR)

      but the clobber targer, which has the images-clobber target as a
      dependency (== subrouting in Makefile talk) does:
      $(RM) -r $(JDK_IMAGE_DIR) $(JDK_DEBUG_IMAGE_DIR) $(JRE_IMAGE_DIR)

      The code should be removed from the `clobber' target.

      Similarly, the following command occurs twice in the `images-clobber' target:
      $(RM) -r $(TMPDIR)/jre $(TMPDIR)/jdk

      ###@###.### 2004-02-01

            ohair Kelly Ohair (Inactive)
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: