]> git.sur5r.net Git - i3/i3/commitdiff
Added a distclean target.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sun, 24 Oct 2010 03:29:54 +0000 (01:29 -0200)
committerAxel Wagner <mail@merovius.de>
Thu, 4 Nov 2010 10:50:47 +0000 (11:50 +0100)
i3bar/Makefile
i3bar/doc/Makefile

index 8f1244934f66d58b0b74717aeee9b9eb41251ebc..d4cc59b9ee9818b9ce348b4eb69c41ef942c860e 100644 (file)
@@ -27,7 +27,11 @@ install: all
        $(INSTALL) -m 0755 i3bar $(DESTDIR)$(PREFIX)/bin
 
 clean:
-       rm src/*.o
+       rm -f src/*.o
        make -C doc clean
 
-.PHONY: install clean doc
+distclean: clean
+       rm -f i3bar
+       make -C doc distclean
+
+.PHONY: install clean distclean doc
index f363207c64c690cac3dc5a35350ee9d0b734361c..a8144cd84193114d8817698957351bdf2104d124 100644 (file)
@@ -5,3 +5,5 @@ i3bar.1: i3bar.man
        a2x -f manpage i3bar.man
 clean:
        rm -f i3bar.xml i3bar.1 i3bar.html
+
+distclean: clean