[Git][ghc/ghc][master] install: do not install sphinx doctrees
Marge Bot
gitlab at gitlab.haskell.org
Tue Aug 18 19:39:37 UTC 2020
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
a87a0b49 by Eli Schwartz at 2020-08-18T15:39:30-04:00
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.
- - - - -
1 changed file:
- ghc.mk
Changes:
=====================================
ghc.mk
=====================================
@@ -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
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a87a0b498f4c93c33e3db8d7f68fbaa5d812b408
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a87a0b498f4c93c33e3db8d7f68fbaa5d812b408
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200818/96e2493e/attachment.html>
More information about the ghc-commits
mailing list