From 73728f519bd70a65aa10f73f31e22bb18f5c669e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fernando=20Tarl=C3=A1=20Cardoso=20Lemos?= Date: Sun, 24 Oct 2010 01:29:54 -0200 Subject: [PATCH] Added a distclean target. --- i3bar/Makefile | 8 ++++++-- i3bar/doc/Makefile | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/i3bar/Makefile b/i3bar/Makefile index 8f124493..d4cc59b9 100644 --- a/i3bar/Makefile +++ b/i3bar/Makefile @@ -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 diff --git a/i3bar/doc/Makefile b/i3bar/doc/Makefile index f363207c..a8144cd8 100644 --- a/i3bar/doc/Makefile +++ b/i3bar/doc/Makefile @@ -5,3 +5,5 @@ i3bar.1: i3bar.man a2x -f manpage i3bar.man clean: rm -f i3bar.xml i3bar.1 i3bar.html + +distclean: clean -- 2.39.5