Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alfredo Di Napoli
GHC
Commits
27e90065
Commit
27e90065
authored
Feb 13, 2002
by
simonmar
Browse files
[project @ 2002-02-13 10:45:28 by simonmar]
Use --update-package rather than --remove-package followed by --add-package
parent
9f66c841
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/package.mk
View file @
27e90065
# -----------------------------------------------------------------------------
# $Id: package.mk,v 1.
2
2002/02/1
2
1
5
:45:
46
simonmar Exp $
# $Id: package.mk,v 1.
3
2002/02/1
3
1
0
:45:
28
simonmar Exp $
ifneq
"$(PACKAGE)" ""
...
...
@@ -17,10 +17,8 @@ $(PACKAGE).conf.installed : $(PACKAGE).conf.in
|
sed
's/^#.*$$//g'
>
$@
boot all
::
$(PACKAGE).conf.inplace $(PACKAGE).conf.installed
-
$(GHC_PKG_INPLACE)
--remove-package
$(PACKAGE)
$(GHC_PKG_INPLACE)
--add-package
<
$(PACKAGE)
.conf.inplace
-
$(GHC_PKG_INPLACE)
-f
$(GHC_DRIVER_DIR)
/package.conf
--remove-package
$(PACKAGE)
$(GHC_PKG_INPLACE)
-f
$(GHC_DRIVER_DIR)
/package.conf
--add-package
<
$(PACKAGE)
.conf.installed
$(GHC_PKG_INPLACE)
--update-package
<
$(PACKAGE)
.conf.inplace
$(GHC_PKG_INPLACE)
-f
$(GHC_DRIVER_DIR)
/package.conf
--update-package
<
$(PACKAGE)
.conf.installed
CLEAN_FILES
+=
$(PACKAGE)
.conf.installed
$(PACKAGE)
.conf.inplace
...
...
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