summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-14 16:49:52 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-14 19:46:35 -0500
commit94c35ddf31aef28de84661860f77a94229f60cb4 (patch)
treec6f67781ffe4529f23fc1143feb72b6f317607d7 /ghc.mk
parent6579a6c73082387f82b994305011f011d9d8382b (diff)
downloadhaskell-94c35ddf31aef28de84661860f77a94229f60cb4.tar.gz
Don't delete HsTimeConfig.h.in during distclean.
sdist preps the tree via distclean before anything else, which caused HsTimeConfig.h.in under 'time' to be deleted - even though it should be included in the resulting tarball for ./configure. The correct target is 'maintainer-clean'. I'm guessing the nightlies didn't complain because they run ./boot, forcing regeneration. NixOS's Hydra does not, though. Thanks to Peter Simons and Andres Löh for pointing this out. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 0e186186e6..82e9e5c655 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1283,7 +1283,6 @@ distclean : clean
$(call removeFiles,libraries/process/include/HsProcessConfig.h)
$(call removeFiles,libraries/unix/include/HsUnixConfig.h)
$(call removeFiles,libraries/time/include/HsTimeConfig.h)
- $(call removeFiles,libraries/time/include/HsTimeConfig.h.in)
$(call removeFiles,libraries/old-time/include/HsTimeConfig.h)
# The library configure scripts also like creating autom4te.cache
@@ -1312,6 +1311,7 @@ maintainer-clean : distclean
$(call removeFiles,libraries/directory/include/HsDirectoryConfig.h.in)
$(call removeFiles,libraries/process/include/HsProcessConfig.h.in)
$(call removeFiles,libraries/unix/include/HsUnixConfig.h.in)
+ $(call removeFiles,libraries/time/include/HsTimeConfig.h.in)
$(call removeFiles,libraries/old-time/include/HsTimeConfig.h.in)
.PHONY: all_libraries