Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
f9c199a1
Commit
f9c199a1
authored
Oct 26, 2007
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install the Cabal docs, and make them show up in a binary distribution
parent
d59e5356
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
Makefile
Makefile
+3
-2
distrib/Makefile
distrib/Makefile
+1
-0
mk/install.mk
mk/install.mk
+9
-5
No files found.
Makefile
View file @
f9c199a1
...
...
@@ -64,7 +64,7 @@ else
SUBDIRS_BUILD
=
gmp includes compat utils driver docs compiler rts
endif
SUBDIRS
=
gmp includes compat utils driver docs rts libraries compiler
SUBDIRS
=
gmp includes compat utils driver docs rts libraries compiler
libraries/Cabal/doc
# Sanity check that all the boot libraries are in the tree, to catch
# failure to run darcs-all.
...
...
@@ -309,6 +309,7 @@ binary-dist::
$(MAKE)
-C
utils binary-dist
DOING_BIN_DIST
=
YES
$(MAKE)
-C
docs binary-dist
DOING_BIN_DIST
=
YES
$(MAKE)
-C
libraries binary-dist
DOING_BIN_DIST
=
YES
$(MAKE)
-C
libraries/Cabal/doc binary-dist
DOING_BIN_DIST
=
YES
VARFILE
=
$(BIN_DIST_DIR)
/Makefile-vars.in
...
...
@@ -419,7 +420,7 @@ SRC_DIST_DIR=$(shell pwd)/$(SRC_DIST_NAME)
#
# Files to include in source distributions
#
SRC_DIST_DIRS
+=
mk docs distrib bindisttest
$(
filter-out
docs distrib,
$(SUBDIRS)
)
SRC_DIST_DIRS
+=
mk docs distrib bindisttest
$(
filter-out
docs distrib
libraries/Cabal/doc
,
$(SUBDIRS)
)
SRC_DIST_FILES
+=
\
configure.ac config.guess config.sub configure
\
aclocal.m4 README ANNOUNCE HACKING LICENSE Makefile install-sh
\
...
...
distrib/Makefile
View file @
f9c199a1
...
...
@@ -25,6 +25,7 @@ install::
$(MAKE)
-C
libraries
install
DOING_BIN_DIST
=
YES
$(MAKE)
-C
compiler
install
DOING_BIN_DIST
=
YES
$(MAKE)
-C
docs install-docs
DOING_BIN_DIST
=
YES
$(MAKE)
-C
libraries/Cabal/doc install-docs
DOING_BIN_DIST
=
YES
$(INSTALL_DATA)
$(INSTALL_OPTS)
extra-gcc-opts
$(libdir)
install
::
postinstall denounce
...
...
mk/install.mk
View file @
f9c199a1
...
...
@@ -266,9 +266,13 @@ endif
endif
ifneq
"$(strip $(INSTALL_XML_DOC))" ""
ifeq
"$(DOC_SUBDIR)" ""
DOC_SUBDIR
=
docs/
$(XML_DOC)
endif
binary-dist
::
$(MKDIRHIER)
$(BIN_DIST_DIR)
/
docs/
$(XML_DOC
)
$(CP)
Makefile
$(BIN_DIST_DIR)
/
docs/
$(XML_DOC
)
$(MKDIRHIER)
$(BIN_DIST_DIR)
/
$(DOC_SUBDIR
)
$(CP)
Makefile
$(BIN_DIST_DIR)
/
$(DOC_SUBDIR
)
ifneq
"$(XMLDocWays)" ""
# TODO: The following could be an entry for an Obfuscated Makefile Contest...
...
...
@@ -295,13 +299,13 @@ binary-dist:: $(foreach i,$(XMLDocWays),$(INSTALL_XML_DOC)$(patsubst %.html-no-c
binary-dist
::
$(foreach i
,
$(XMLDocWays)
,
binary-dist-docs-$i)
binary-dist-docs-html
:
$(CP)
-r
$(INSTALL_XML_DOC)
$(BIN_DIST_DIR)
/
docs/
$(XML_DOC)
/
$(CP)
-r
$(INSTALL_XML_DOC)
$(BIN_DIST_DIR)
/
$(DOC_SUBDIR)
binary-dist-docs-html-no-chunks
:
$(CP)
$(INSTALL_XML_DOC)
.html
$(BIN_DIST_DIR)
/
docs/
$(XML_DOC
)
/
$(CP)
$(INSTALL_XML_DOC)
.html
$(BIN_DIST_DIR)
/
$(DOC_SUBDIR
)
/
binary-dist-docs-%
:
$(CP)
$(INSTALL_XML_DOC)
.
$*
$(BIN_DIST_DIR)
/
docs/
$(XML_DOC
)
/
$(CP)
$(INSTALL_XML_DOC)
.
$*
$(BIN_DIST_DIR)
/
$(DOC_SUBDIR
)
/
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment