-f to supress error if file doesn't exist for rm clean target
authorDale Weiler <killfieldengine@gmail.com>
Thu, 17 Jan 2013 22:34:39 +0000 (22:34 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 17 Jan 2013 22:34:39 +0000 (22:34 +0000)
distro/deb/Makefile

index 85e525ba7e224f225f94157022a130e47340b9c2..2833e4b69cc01a12f1e5d935aa3bd13e18ce5aff 100644 (file)
@@ -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