Commit 94c35ddf authored by thoughtpolice's avatar thoughtpolice

Don't delete during distclean.

sdist preps the tree via distclean before anything else, which caused 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: thoughtpolice's avatarAustin Seipp <>
parent 6579a6c7
......@@ -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/
$(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/
$(call removeFiles,libraries/process/include/
$(call removeFiles,libraries/unix/include/
$(call removeFiles,libraries/time/include/
$(call removeFiles,libraries/old-time/include/
.PHONY: all_libraries
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment