mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
dirs.mk: Add default for SUBDIRS: $(FIND_SUBDIRS)
- Conditionally default SUBDIRS to $(FIND_SUBDIRS)
- Change condition for dummy targets from ifndef SUBDIRS to
ifeq ($(SUBDIRS),) to be able to do that
This commit is contained in:
parent
80ba39c15c
commit
711c42ea0a
1 changed files with 4 additions and 2 deletions
|
|
@ -7,7 +7,9 @@
|
||||||
|
|
||||||
include $(MODDIR)/make/defs.mk
|
include $(MODDIR)/make/defs.mk
|
||||||
|
|
||||||
ifndef SUBDIRS
|
SUBDIRS ?= $(FIND_SUBDIRS)
|
||||||
|
|
||||||
|
ifeq ($(SUBDIRS),)
|
||||||
all:
|
all:
|
||||||
subdirs:
|
subdirs:
|
||||||
clean distclean:
|
clean distclean:
|
||||||
|
|
@ -21,8 +23,8 @@ install:
|
||||||
$(make_subdirs_target)
|
$(make_subdirs_target)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
|
||||||
$(make_subdirs_target)
|
$(make_subdirs_target)
|
||||||
|
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
||||||
|
|
||||||
distclean: rmdistclean clean
|
distclean: rmdistclean clean
|
||||||
rmdistclean:
|
rmdistclean:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue