Ticket #7941: Update-distclean-build-target.-Fixes-7941.patch

File Update-distclean-build-target.-Fixes-7941.patch, 2.2 KB (added by jstolarek, 11 months ago)
  • ghc.mk

    From bae64511eb901a72d67195cb32fd2fd7843e99e8 Mon Sep 17 00:00:00 2001
    From: Jan Stolarek <jan.stolarek@p.lodz.pl>
    Date: Mon, 27 May 2013 21:42:52 +0200
    Subject: [PATCH] Update distclean build target. Fixes 7941
    
    ---
     ghc.mk | 14 ++++++++++++++
     1 file changed, 14 insertions(+)
    
    diff --git a/ghc.mk b/ghc.mk
    index 7b66cfd..702390d 100644
    a b distclean : clean 
    11981198        $(call removeFiles,config.cache config.status config.log mk/config.h mk/stamp-h) 
    11991199        $(call removeFiles,mk/config.mk mk/are-validating.mk mk/project.mk) 
    12001200        $(call removeFiles,mk/config.mk.old mk/project.mk.old) 
     1201        $(call removeFiles,mk/install.mk) 
    12011202        $(call removeFiles,settings docs/users_guide/ug-book.xml) 
     1203        $(call removeFiles,bindist-list) 
    12021204        $(call removeFiles,compiler/ghc.cabal compiler/ghc.cabal.old) 
     1205        $(call removeFiles,docs/index.html) 
     1206        $(call removeFiles,docs/users_guide/ug-ent.xml) 
     1207        $(call removeFiles,distrib/configure.ac) 
    12031208        $(call removeFiles,ghc/ghc-bin.cabal) 
    12041209        $(call removeFiles,libraries/base/include/HsBaseConfig.h) 
     1210        $(call removeFiles,libraries/base/include/EventConfig.h) 
    12051211        $(call removeFiles,libraries/directory/include/HsDirectoryConfig.h) 
     1212        $(call removeFiles,libraries/directory/tests/copyFile001dir/target libraries/directory/tests/copyFile002dir/target) 
     1213        $(call removeFiles,libraries/filepath/tests/FilePath_Test.hs libraries/filepath/tests/GenTests libraries/filepath/tests/GenTests.o libraries/filepath/tests/GenTests.hi) 
    12061214        $(call removeFiles,libraries/process/include/HsProcessConfig.h) 
    12071215        $(call removeFiles,libraries/unix/include/HsUnixConfig.h) 
     1216        $(call removeFiles,libraries/unix/tests/libposix/po003.out) 
    12081217        $(call removeFiles,libraries/old-time/include/HsTimeConfig.h) 
     1218        $(call removeFiles,libraries/time/include/HsTimeConfig.h.in) 
     1219        $(call removeFiles,libraries/prologue.txt) 
     1220        $(call removeFiles,rts/libs.depend rts/package.conf.inplace.raw) 
     1221        $(call removeFiles,utils/runghc/runghc.cabal) 
    12091222        $(call removeTrees,utils/ghc-pwd/dist-boot) 
    12101223        $(call removeTrees,includes/dist-derivedconstants) 
    12111224        $(call removeTrees,inplace) 
    12121225        $(call removeTrees,$(patsubst %, libraries/%/autom4te.cache, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2))) 
     1226        $(call removeTrees,bindisttest/a) 
    12131227 
    12141228maintainer-clean : distclean 
    12151229        $(call removeFiles,configure mk/config.h.in)