Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
a2ab5544
Commit
a2ab5544
authored
Jan 08, 2009
by
Ian Lynagh
Browse files
Remove uses of pwd in favour of abspath
parent
15a27e50
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/annotations/should_run/Makefile
View file @
a2ab5544
...
@@ -12,4 +12,4 @@ config :
...
@@ -12,4 +12,4 @@ config :
@
echo
"Creating
$(CONFIG_HS)
... "
@
echo
"Creating
$(CONFIG_HS)
... "
@
echo
"module Config where"
>>
$(CONFIG_HS)
@
echo
"module Config where"
>>
$(CONFIG_HS)
@
echo
"cTop :: String"
>>
$(CONFIG_HS)
@
echo
"cTop :: String"
>>
$(CONFIG_HS)
@
echo
"cTop =
\"
"
`
cd
$(TOP)
&&
cd
..
&&
pwd
`
"
\"
"
>>
$(CONFIG_HS)
@
echo
"cTop =
\"
"
`
$(TEST_HC)
--print-libdir
`
"
\"
"
>>
$(CONFIG_HS)
\ No newline at end of file
\ No newline at end of file
testsuite/tests/ghc-regress/cabal/cabal01/Makefile
View file @
a2ab5544
...
@@ -23,7 +23,7 @@ cabal01:
...
@@ -23,7 +23,7 @@ cabal01:
$(MAKE)
clean
$(MAKE)
clean
$(TEST_HC)
--make
-o
setup Setup.lhs
-v0
$(TEST_HC)
--make
-o
setup Setup.lhs
-v0
./setup
configure
-v0
--prefix
=
$(
shell
$(TOP)
/utils/pwd forwardslash
)
/
install
--with-compiler
=
$(TEST_HC)
--with-hc-pkg
=
$(GHC_PKG)
$(PROF)
./setup
configure
-v0
--prefix
=
$(
abspath
install
)
--with-compiler
=
$(TEST_HC)
--with-hc-pkg
=
$(GHC_PKG)
$(PROF)
./setup
build
-v0
./setup
build
-v0
./setup
copy
-v0
./setup
copy
-v0
echo install1
:
echo install1
:
...
...
testsuite/tests/ghc-regress/lib/Generics/Makefile
View file @
a2ab5544
CWD
=
${
shell
pwd
}
TOP
=
../../../..
TOP
=
${CWD}
/../../../..
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/test.mk
include
$(TOP)/mk/test.mk
...
...
testsuite/tests/ghc-regress/rename/prog006/Makefile
View file @
a2ab5544
...
@@ -17,7 +17,7 @@ include $(TOP)/mk/test.mk
...
@@ -17,7 +17,7 @@ include $(TOP)/mk/test.mk
rn.prog006
:
rn.prog006
:
$(TEST_HC)
--make
-package-name
test-1.0 B.C
-fforce-recomp
-v0
$(TEST_HC)
--make
-package-name
test-1.0 B.C
-fforce-recomp
-v0
sed
"s@__IMPORT__@
`
$(
TOP)
/utils/pwd quadruple-backslash
`
@"
<pkg.conf.in
>
pkg.conf
sed
"s@__IMPORT__@
$(
abspath
.
)
@"
<pkg.conf.in
>
pkg.conf
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-fforce-recomp
A.hs
-i
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-fforce-recomp
A.hs
-i
# The -i clears the search path, so A.hs will find B.C from package test
# The -i clears the search path, so A.hs will find B.C from package test
#
#
...
...
Write
Preview
Supports
Markdown
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