diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2020-06-22 18:03:12 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-08-18 15:39:30 -0400 |
commit | a87a0b498f4c93c33e3db8d7f68fbaa5d812b408 (patch) | |
tree | 4126c6944a0192d7a9b065164537642e8beaa210 /ghc.mk | |
parent | 3ac6ae7c8d5a66bfe36973d1e92f3feef482d589 (diff) | |
download | haskell-a87a0b498f4c93c33e3db8d7f68fbaa5d812b408.tar.gz |
install: do not install sphinx doctrees
These files are 100% not needed at install time, and they contain
unreproducible info. See https://reproducible-builds.org/ for why this
matters.
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -934,6 +934,11 @@ ifneq "$(INSTALL_HTML_DOC_DIRS)" "" for i in $(INSTALL_HTML_DOC_DIRS); do \ $(CP) -Rp $$i "$(DESTDIR)$(docdir)/html"; \ done + for i in "$(DESTDIR)$(docdir)/html"/*/.doctrees; do \ + if [ -d "$$i" ]; then \ + rm -r "$$i"; \ + fi \ + done endif INSTALLED_PACKAGE_CONF=$(DESTDIR)$(topdir)/package.conf.d |