Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
a8ad2066
Commit
a8ad2066
authored
Dec 09, 2009
by
Ian Lynagh
Browse files
Put README and INSTALL into bindists
Also tidied up the way configure.ac gets into bindists
parent
74cda6e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
a8ad2066
...
...
@@ -857,7 +857,7 @@ if grep ' ' compiler/ghc.cabal.in 2>&1 >/dev/null; then
AC_MSG_ERROR([compiler/ghc.cabal.in contains tab characters; please remove them])
fi
AC_CONFIG_FILES([mk/config.mk mk/install.mk mk/project.mk compiler/ghc.cabal ghc/ghc-bin.cabal ghc.spec extra-gcc-opts docs/users_guide/ug-book.xml distrib/ghc.iss distrib/configure
-bin
.ac])
AC_CONFIG_FILES([mk/config.mk mk/install.mk mk/project.mk compiler/ghc.cabal ghc/ghc-bin.cabal ghc.spec extra-gcc-opts docs/users_guide/ug-book.xml distrib/ghc.iss distrib/configure.ac])
AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h])
AC_OUTPUT
...
...
distrib/configure
-bin
.ac.in
→
distrib/configure.ac.in
View file @
a8ad2066
File moved
ghc.mk
View file @
a8ad2066
...
...
@@ -894,6 +894,8 @@ ifneq "$(CLEANING)" "YES"
$(eval
$(call
bindist,.,\
LICENSE
\
README
\
INSTALL
\
configure
config.sub
config.guess
install-sh
\
extra-gcc-opts.in
\
Makefile
\
...
...
@@ -941,14 +943,13 @@ BIN_DIST_MK = $(BIN_DIST_PREP_DIR)/bindist.mk
unix-binary-dist-prep
:
"
$(RM)
"
$(RM_OPTS)
-r
bindistprep/
"
$(MKDIRHIER)
"
$(BIN_DIST_PREP_DIR)
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_PREP_DIR)
/
;
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
distrib/configure.ac distrib/README distrib/INSTALL
;
do
ln
-s
../../
$$
i
$(BIN_DIST_PREP_DIR)
/
;
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)
echo
"BUILD_MAN =
$(BUILD_MAN)
"
>>
$(BIN_DIST_MK)
ln
-s
../../distrib/configure-bin.ac
$(BIN_DIST_PREP_DIR)
/configure.ac
cd
$(BIN_DIST_PREP_DIR)
&&
autoreconf
"
$(RM)
"
$(RM_OPTS)
$(BIN_DIST_PREP_TAR)
# h means "follow symlinks", e.g. if aclocal.m4 is a symlink to a source
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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