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