don't rebuild PrimEnv if genprimopcode and/or primops.txt don't exist
[ghc-hetmet.git] / bindisttest / Makefile
index c26ca79..b2cb231 100644 (file)
@@ -9,7 +9,7 @@ TOP=..
 include $(TOP)/mk/boilerplate.mk
 
 all:
-       $(RM) -rf installed
+       $(RM) -rf $(BIN_DIST_INST_SUBDIR)
        $(RM) -rf ghc*
        $(RM) HelloWorld HelloWorld.o HelloWorld.hi output
        $(TAR) -jxf $(BIN_DIST_TARBALL)
@@ -24,7 +24,7 @@ endif
        $(CONTEXT_DIFF) output expected_output
 
 clean distclean:
-       $(RM) -rf installed
+       $(RM) -rf $(BIN_DIST_INST_SUBDIR)
        $(RM) -rf ghc*
        $(RM) HelloWorld HelloWorld.o HelloWorld.hi output