projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f979bf
)
In cabal.mk, clean is no longer identical to distclean
author
Ian Lynagh
<igloo@earth.li>
Tue, 12 Aug 2008 23:24:46 +0000
(23:24 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 12 Aug 2008 23:24:46 +0000
(23:24 +0000)
distclean will now also remove files listed in EXTRA_DISTCLEAN
mk/cabal.mk
patch
|
blob
|
history
diff --git
a/mk/cabal.mk
b/mk/cabal.mk
index
1ae6cba
..
fbe8953
100644
(file)
--- a/
mk/cabal.mk
+++ b/
mk/cabal.mk
@@
-52,12
+52,15
@@
install:
--distpref dist-install \
$(INSTALL_FLAGS)
-clean: distclean
-
-distclean:
+clean:
-$(CABAL) clean --distpref dist-inplace
-$(CABAL) clean --distpref dist-install
ifneq "$(EXTRA_CLEAN)" ""
$(RM) -f $(EXTRA_CLEAN)
endif
+distclean: clean
+ifneq "$(EXTRA_DISTCLEAN)" ""
+ $(RM) -f $(EXTRA_DISTCLEAN)
+endif
+