avoid running BUILDER clean when it's cabal

This alows debian/rules clean to work when build deps are not installed.
This commit is contained in:
Joey Hess 2016-01-22 11:51:54 -04:00
parent d928d77924
commit acac554aa9
Failed to extract signature
2 changed files with 10 additions and 1 deletions

View file

@ -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 \

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2016-01-22T15:49:19Z"
content="""
That's a reasonable thing to want to do. It might be that passing -nc to
dpkg-buildpackage would be the best thing to do. In any case,
I've adjusted the Makefile.
"""]]