X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=blobdiff_plain;f=debian%2Frules;h=ea4b74e35c9382c86d8ca10e322e98e5d56d1ad5;hp=a44ec2ae0e3d9c9be0cdfab5802ec216a081be54;hb=272acf7fcf7e6786ab0c06ab4047a7a56da91682;hpb=f5fd3a5de50498c441f01f33d62b075d58fcca15 diff --git a/debian/rules b/debian/rules index a44ec2a..ea4b74e 100755 --- a/debian/rules +++ b/debian/rules @@ -66,6 +66,13 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" "" endif rm -f $(CURDIR)/config.sub $(CURDIR)/config.guess + + # If we're not in a mercurial repository, make sure no hg metadata is + # lying around + if ! [ -d .hg ]; then \ + rm -f .hg*; \ + fi + dh_clean install: build