From: Dale Weiler <killfieldengine@gmail.com>
Date: Thu, 17 Jan 2013 22:34:39 +0000 (+0000)
Subject: -f to supress error if file doesn't exist for rm clean target
X-Git-Tag: before-library~231
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=99482a324e7486c9675872b9ff6857caeb8d4234;p=xonotic%2Fgmqcc.git

-f to supress error if file doesn't exist for rm clean target
---

diff --git a/distro/deb/Makefile b/distro/deb/Makefile
index 85e525b..2833e4b 100644
--- a/distro/deb/Makefile
+++ b/distro/deb/Makefile
@@ -14,7 +14,6 @@ base:
 	$(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR)/ PREFIX=$(PREFIX) install
 	@install -d -m755 $(DEBDIR)/DEBIAN
 	@cp       control $(DEBDIR)/DEBIAN/
-
 	@tar czf data.tar.gz $(DEBDIR)/[a-z]*
 	@tar czf control.tar.gz $(DEBDIR)/DEBIAN/*
 	@echo 2.0 > debian-binary
@@ -22,7 +21,7 @@ base:
 	@rm -rf $(DEBDIR) debian-binary control.tar.gz data.tar.gz
 
 clean:
-	@rm $(DEB)
+	@rm -f $(DEB)
 
 
 all: base