[Git][ghc/ghc][wip/dont-remove-integer-gmp-ghc-mk-maintainer-clean] Don't maintainer-clean libraries/integer-gmp/ghc.mk (#16953)

Ryan Scott gitlab at gitlab.haskell.org
Thu Jun 25 15:13:45 UTC 2020



Ryan Scott pushed to branch wip/dont-remove-integer-gmp-ghc-mk-maintainer-clean at Glasgow Haskell Compiler / GHC


Commits:
2b49e06e by Ryan Scott at 2020-06-25T11:13:31-04:00
Don't maintainer-clean libraries/integer-gmp/ghc.mk (#16953)

Commit 9f96bc127d6 checked `libraries/integer-gmp/ghc.mk` into
version control, but `make maintainer-clean` mistakenly removes this
file. In the same spirit as commit
257d1fd86e6e5e7d145d71707904d8fe54024041, let's make sure that
`ghc.mk` adds an exemption for this file.

[ci skip]

- - - - -


1 changed file:

- ghc.mk


Changes:

=====================================
ghc.mk
=====================================
@@ -1421,8 +1421,9 @@ distclean : clean
 	$(call removeFiles,libraries/base/cbits/fs.c)
 
 CLEAN_LIBRARY_GHC_MK_FILES += $(patsubst %, libraries/%/ghc.mk, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2))
-# Don't clean `libraries/ghc-boot/ghc.mk`, since it's intended to be version-controlled (#16953)
+# Don't clean `libraries/{ghc-boot,integer-gmp}/ghc.mk`, since they're intended to be version-controlled (#16953)
 CLEAN_LIBRARY_GHC_MK_FILES := $(filter-out libraries/ghc-boot/ghc.mk,$(CLEAN_LIBRARY_GHC_MK_FILES))
+CLEAN_LIBRARY_GHC_MK_FILES := $(filter-out libraries/integer-gmp/ghc.mk,$(CLEAN_LIBRARY_GHC_MK_FILES))
 
 maintainer-clean : distclean
 	$(call removeFiles,configure mk/config.h.in)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2b49e06ef180c5e174056fe2058e555bc10d4a15

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2b49e06ef180c5e174056fe2058e555bc10d4a15
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200625/32f8c04f/attachment.html>


More information about the ghc-commits mailing list