[commit: nofib] master: Fix `make clean` for `real/compress` (7e5619a)

git at git.haskell.org git at git.haskell.org
Tue Nov 20 15:29:21 UTC 2018


Repository : ssh://git@git.haskell.org/nofib

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7e5619a6abe7ce89eb55b411736025b31410f478/nofib

>---------------------------------------------------------------

commit 7e5619a6abe7ce89eb55b411736025b31410f478
Author: Sebastian Graf <sebastian.graf at kit.edu>
Date:   Tue Nov 20 12:47:34 2018 +0100

    Fix `make clean` for `real/compress`
    
    Summary:
    The `make boot` phase of `real/compress` generates files that are
    cleaned up by `make clean` with `rm`. Doing `make clean` without a
    prior `make boot` leads to a failure.
    
    This just supplies `-f` to `rm` so that plain `make clean` no longer
    fails.
    
    Reviewers: O26 nofib
    
    Differential Revision: https://phabricator.haskell.org/D5359


>---------------------------------------------------------------

7e5619a6abe7ce89eb55b411736025b31410f478
 real/compress/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/real/compress/Makefile b/real/compress/Makefile
index 275ba77..2f87ccb 100644
--- a/real/compress/Makefile
+++ b/real/compress/Makefile
@@ -19,4 +19,4 @@ compress.stdout : compress.stdin compress
 
 
 clean ::
-	rm compress.stdin compress.stdout
+	rm -f compress.stdin compress.stdout



More information about the ghc-commits mailing list