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
Alex D
GHC
Commits
663fd6d2
Commit
663fd6d2
authored
Aug 01, 2009
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs to bindists
parent
ac44fa5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
ghc.mk
ghc.mk
+10
-0
mk/custom-settings.mk
mk/custom-settings.mk
+5
-0
No files found.
ghc.mk
View file @
663fd6d2
...
@@ -786,19 +786,29 @@ $(eval $(call bindist,.,\
...
@@ -786,19 +786,29 @@ $(eval $(call bindist,.,\
$(INSTALL_LIBEXECS)
\
$(INSTALL_LIBEXECS)
\
$(INSTALL_LIBEXEC_SCRIPTS)
\
$(INSTALL_LIBEXEC_SCRIPTS)
\
$(INSTALL_BINS)
\
$(INSTALL_BINS)
\
$(INSTALL_DOCS)
\
$(addsuffix
/*,$(INSTALL_HTML_DOC_DIRS))
\
$(filter-out
extra-gcc-opts,$(INSTALL_LIBS))
\
$(filter-out
extra-gcc-opts,$(INSTALL_LIBS))
\
$(filter-out
%/project.mk,$(filter-out
mk/config.mk,$(MAKEFILE_LIST)))
\
$(filter-out
%/project.mk,$(filter-out
mk/config.mk,$(MAKEFILE_LIST)))
\
mk/fix_install_names.sh
\
mk/fix_install_names.sh
\
mk/project.mk
\
mk/project.mk
\
bindist.mk
\
libraries/dph/LICENSE
\
libraries/dph/LICENSE
\
))
))
# mk/project.mk gets an absolute path, so we manually include it in
# mk/project.mk gets an absolute path, so we manually include it in
# the bindist with a relative path
# the bindist with a relative path
BIN_DIST_MK
=
$(BIN_DIST_NAME)
/bindist.mk
binary-dist
:
binary-dist
:
"
$(RM)
"
$(RM_OPTS)
-r
$(BIN_DIST_NAME)
"
$(RM)
"
$(RM_OPTS)
-r
$(BIN_DIST_NAME)
mkdir
$(BIN_DIST_NAME)
mkdir
$(BIN_DIST_NAME)
set
-e
;
for
i
in
LICENSE compiler ghc rts libraries utils docs libffi includes driver mk rules Makefile aclocal.m4 config.sub config.guess install-sh extra-gcc-opts.in ghc.mk inplace
;
do
ln
-s
../
$$
i
$(BIN_DIST_NAME)
/
;
done
set
-e
;
for
i
in
LICENSE compiler ghc rts libraries utils docs libffi includes driver mk rules Makefile aclocal.m4 config.sub config.guess install-sh extra-gcc-opts.in ghc.mk inplace
;
do
ln
-s
../
$$
i
$(BIN_DIST_NAME)
/
;
done
echo
"HADDOCK_DOCS =
$(HADDOCK_DOCS)
"
>>
$(BIN_DIST_MK)
echo
"LATEX_DOCS =
$(LATEX_DOCS)
"
>>
$(BIN_DIST_MK)
echo
"BUILD_DOCBOOK_HTML =
$(BUILD_DOCBOOK_HTML)
"
>>
$(BIN_DIST_MK)
echo
"BUILD_DOCBOOK_PS =
$(BUILD_DOCBOOK_PS)
"
>>
$(BIN_DIST_MK)
echo
"BUILD_DOCBOOK_PDF =
$(BUILD_DOCBOOK_PDF)
"
>>
$(BIN_DIST_MK)
ln
-s
../distrib/configure-bin.ac
$(BIN_DIST_NAME)
/configure.ac
ln
-s
../distrib/configure-bin.ac
$(BIN_DIST_NAME)
/configure.ac
cd
$(BIN_DIST_NAME)
&&
autoreconf
cd
$(BIN_DIST_NAME)
&&
autoreconf
"
$(RM)
"
$(RM_OPTS)
$(BIN_DIST_TAR)
"
$(RM)
"
$(RM_OPTS)
$(BIN_DIST_TAR)
...
...
mk/custom-settings.mk
View file @
663fd6d2
...
@@ -7,3 +7,8 @@ include mk/validate-settings.mk
...
@@ -7,3 +7,8 @@ include mk/validate-settings.mk
else
else
-include
mk/build.mk
-include
mk/build.mk
endif
endif
ifeq
"$(BINDIST)" "YES"
-include
bindist.mk
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