projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean the bootstrapping extensible-exceptions package
[ghc-hetmet.git]
/
mk
/
cabal.mk
diff --git
a/mk/cabal.mk
b/mk/cabal.mk
index
8c486a9
..
3d525d7
100644
(file)
--- a/
mk/cabal.mk
+++ b/
mk/cabal.mk
@@
-43,16
+43,20
@@
with-stage-2:
$(CABAL) build --distpref dist-install $(DYN_FLAGS) $(BUILD_FLAGS)
install:
$(CABAL) build --distpref dist-install $(DYN_FLAGS) $(BUILD_FLAGS)
install:
- $(INSTALL_PACKAGE) install UNUSED UNUSED '$(DESTDIR)' '$(prefix)' \
+ $(INSTALL_PACKAGE) install \
+ '$(GHC_PKG_INSTALL_PROG)' \
+ '$(DESTDIR)$(datadir)/package.conf' \
+ '$(DESTDIR)' '$(prefix)' \
'$(prefix)' '$(bindir)' '$(libdir)' \
'$(prefix)' '$(bindir)' '$(libdir)' \
- '$(libexecdir)' '$(dynlibdir)' '$(datadir)' \
- '$(docdir)' '$(htmldir)' '$(haddockdir)' \
+ '$(libexecdir)' '$(dynlibdir)' '$(datadir)' \
+ '$(docdir)' '$(htmldir)' '$(haddockdir)' \
--distpref dist-install \
$(INSTALL_FLAGS)
clean:
-$(CABAL) clean --distpref dist-inplace
-$(CABAL) clean --distpref dist-install
--distpref dist-install \
$(INSTALL_FLAGS)
clean:
-$(CABAL) clean --distpref dist-inplace
-$(CABAL) clean --distpref dist-install
+ $(RM) -rf install-inplace
ifneq "$(EXTRA_CLEAN)" ""
$(RM) -f $(EXTRA_CLEAN)
endif
ifneq "$(EXTRA_CLEAN)" ""
$(RM) -f $(EXTRA_CLEAN)
endif