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
Glasgow Haskell Compiler
GHC
Commits
7b156c45
Commit
7b156c45
authored
Nov 05, 2007
by
Simon Marlow
Browse files
eliminate a bit of duplication
parent
e5d9aaa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/Makefile
View file @
7b156c45
...
...
@@ -353,7 +353,7 @@ $(foreach SUBDIR,$(SUBDIRS),install.library.$(SUBDIR)): \
install.library.%: installPackage/installPackage ifBuildable/ifBuildable
if
ifBuildable/ifBuildable
$*
;
then
\
cd
$*
&&
\
../installPackage/installPackage
'
$(GHC_PKG_
INPLACE
)
'
'
$(DESTDIR)$(libdir)
/package.conf'
'
$(DESTDIR)
'
'
$(prefix)
'
'
$(iprefix)
'
'
$(ibindir)
'
'
$(ilibdir)
'
'
$(ilibexecdir)
'
'
$(idatadir)
'
'
$(idocdir)
'
'
$(ihtmldir)
'
'
$(iinterfacedir)
'
;
\
../installPackage/installPackage
'
$(GHC_PKG_
PROG
)
'
'
$(DESTDIR)$(libdir)
/package.conf'
'
$(DESTDIR)
'
'
$(prefix)
'
'
$(iprefix)
'
'
$(ibindir)
'
'
$(ilibdir)
'
'
$(ilibexecdir)
'
'
$(idatadir)
'
'
$(idocdir)
'
'
$(ihtmldir)
'
'
$(iinterfacedir)
'
;
\
fi
.PHONY
:
binary-dist binary-dist.library.%
...
...
mk/config.mk.in
View file @
7b156c45
...
...
@@ -611,6 +611,11 @@ ifacedir = $(libdir)
# (NOTE: configure script setting is ignored).
libexecdir
=
$(libdir)
# This is a bit of a lie, as this is a wrapper rather than the program
# itself. However, it means that we don't have to worry about Windows
# and non-Windows having different extensions.
GHC_PKG_PROG
=
$(FPTOOLS_TOP_ABS)
/
$(GHC_PKG_DIR_REL)
/ghc-pkg-inplace
#-----------------------------------------------------------------------------
# install configuration
...
...
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