makefile: use $SUBDIRS for clean/distclean
This commit is contained in:
parent
8b526679ef
commit
74191652d4
18
Makefile
18
Makefile
@ -117,17 +117,19 @@ clean:
|
|||||||
(which lcov >/dev/null && lcov -d . --zerocounters) || true
|
(which lcov >/dev/null && lcov -d . --zerocounters) || true
|
||||||
$(MAKE) -C docs clean
|
$(MAKE) -C docs clean
|
||||||
$(MAKE) -C man clean
|
$(MAKE) -C man clean
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-msg clean
|
for dir in $(SUBDIRS); do \
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-input clean
|
echo ""; \
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-nagbar clean
|
echo "CLEAN $$dir"; \
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-config-wizard clean
|
$(MAKE) TOPDIR=$(TOPDIR) -C $$dir distclean; \
|
||||||
|
done
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f i3
|
rm -f i3
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-msg distclean
|
for dir in $(SUBDIRS); do \
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-input distclean
|
echo ""; \
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-nagbar distclean
|
echo "DISTCLEAN $$dir"; \
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C i3-config-wizard distclean
|
$(MAKE) TOPDIR=$(TOPDIR) -C $$dir distclean; \
|
||||||
|
done
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
rm -f /tmp/i3-coverage.info
|
rm -f /tmp/i3-coverage.info
|
||||||
|
Loading…
Reference in New Issue
Block a user