summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-22 11:51:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-22 11:53:14 -0400
commita83987e95a45a7b48925292748f6f470d41d2ea3 (patch)
treeabe728bf006b9a9430731d12ab16b89fbe009a13 /Makefile
parent491b64541b7f81725b5fc45ce6b1026bb39d8430 (diff)
avoid running BUILDER clean when it's cabal
This alows debian/rules clean to work when build deps are not installed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 937d2462a..6d8dca599 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ docs: mans
--exclude='users/*' --exclude='devblog/*' --exclude='thanks'
clean:
- if [ "$(BUILDER)" != ./Setup ]; then $(BUILDER) clean; fi
+ if [ "$(BUILDER)" != ./Setup ] && [ "$(BUILDER)" != cabal ]; then $(BUILDER) clean; fi
rm -rf tmp dist git-annex $(mans) configure *.tix .hpc \
doc/.ikiwiki html dist tags Build/SysConfig.hs \
Setup Build/InstallDesktopFile Build/EvilSplicer \