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
d346b2e9
Commit
d346b2e9
authored
May 16, 2009
by
Ian Lynagh
Browse files
Remove some $(TOP)s that cause problems on Windows (as they contain ':')
parent
95613f10
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/ghc.mk
View file @
d346b2e9
...
...
@@ -23,7 +23,7 @@ $(eval $(call docbook,docs/users_guide,users_guide))
# tree. This is a horrible hack, but I can't find a better way to do
# it --SDM (2009-05-11)
build_ug_book
=
$(TOP)
/
docs/users_guide/ug-book.xml
build_ug_book
=
docs/users_guide/ug-book.xml
src_ug_book
=
$(
dir
$(
realpath
$(
dir
$(build_ug_book)
)
/ug-book.xml.in
))
ug-book.xml
ifneq
"$(build_ug_book)" "$(src_ug_book)"
...
...
utils/ghc-cabal/ghc.mk
View file @
d346b2e9
...
...
@@ -54,7 +54,7 @@ $(GHC_CABAL_DIR)_dist-dummy-ghc_MODULES = dummy-ghc
$(GHC_CABAL_DIR)_dist-dummy-ghc_PROG
=
dummy-ghc
$(exeext)
# depend on config.mk, so we pick up the new version number if it changes.
$(GHC_CABAL_DIR)/dist-dummy-ghc/build/dummy-ghc.hs
:
$(GHC_CABAL_DIR)/ghc.mk $(MKDIRHIER)
$(TOP)/
mk/config.mk
$(GHC_CABAL_DIR)/dist-dummy-ghc/build/dummy-ghc.hs
:
$(GHC_CABAL_DIR)/ghc.mk $(MKDIRHIER) mk/config.mk
$(MKDIRHIER)
$(
dir
$@
)
echo
"import System.Environment; import System.Cmd; import System.Exit"
>
$@
echo
"main = do args <- getArgs; if args == [
\"
--numeric-version
\"
] then putStrLn
\"
$(ProjectVersion)
\"
else do e <- rawSystem
\"
$(GHC_STAGE0)
\"
args; exitWith e"
>>
$@
...
...
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