Commit 94c35ddf authored by thoughtpolice's avatar thoughtpolice

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: thoughtpolice's avatarAustin Seipp <aseipp@pobox.com>
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/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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment