Makefile: Remove SUBDIRS
This commit is contained in:
parent
420019f2d0
commit
46713c9e6d
23
Makefile
23
Makefile
|
@ -20,19 +20,9 @@ include i3-nagbar/i3-nagbar.mk
|
||||||
include i3bar/i3bar.mk
|
include i3bar/i3bar.mk
|
||||||
include i3-dump-log/i3-dump-log.mk
|
include i3-dump-log/i3-dump-log.mk
|
||||||
|
|
||||||
real-all: $(ALL_TARGETS) subdirs
|
real-all: $(ALL_TARGETS)
|
||||||
|
|
||||||
subdirs:
|
|
||||||
for dir in $(SUBDIRS); do \
|
|
||||||
echo ""; \
|
|
||||||
echo "MAKE $$dir"; \
|
|
||||||
$(MAKE) -C $$dir; \
|
|
||||||
done
|
|
||||||
|
|
||||||
install: $(INSTALL_TARGETS)
|
install: $(INSTALL_TARGETS)
|
||||||
for dir in $(SUBDIRS); do \
|
|
||||||
$(MAKE) -C $$dir install; \
|
|
||||||
done
|
|
||||||
|
|
||||||
dist: distclean
|
dist: distclean
|
||||||
[ ! -d i3-${VERSION} ] || rm -rf i3-${VERSION}
|
[ ! -d i3-${VERSION} ] || rm -rf i3-${VERSION}
|
||||||
|
@ -63,19 +53,8 @@ clean: $(CLEAN_TARGETS)
|
||||||
(which lcov >/dev/null 2>&1 && lcov -d . --zerocounters) || true
|
(which lcov >/dev/null 2>&1 && lcov -d . --zerocounters) || true
|
||||||
$(MAKE) -C docs clean
|
$(MAKE) -C docs clean
|
||||||
$(MAKE) -C man clean
|
$(MAKE) -C man clean
|
||||||
for dir in $(SUBDIRS); do \
|
|
||||||
echo ""; \
|
|
||||||
echo "CLEAN $$dir"; \
|
|
||||||
$(MAKE) TOPDIR=$(TOPDIR) -C $$dir distclean; \
|
|
||||||
done
|
|
||||||
|
|
||||||
distclean: clean $(DISTCLEAN_TARGETS)
|
distclean: clean $(DISTCLEAN_TARGETS)
|
||||||
rm -f i3
|
|
||||||
for dir in $(SUBDIRS); do \
|
|
||||||
echo ""; \
|
|
||||||
echo "DISTCLEAN $$dir"; \
|
|
||||||
$(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