forked from Mirrors/freeswitch
FS-7245: don't rebuild core on mod_foo-clean targets
This commit is contained in:
parent
9e15c4e5b5
commit
f4e68221de
|
@ -57,7 +57,11 @@ MY_DEFAULT_ARGS= --build=$(build) --host=$(host) --target=$(target) --prefix="$(
|
||||||
if test "$$target" = "install"; then \
|
if test "$$target" = "install"; then \
|
||||||
$(MAKE) $(AM_MAKEFLAGS) core_install && cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ; \
|
$(MAKE) $(AM_MAKEFLAGS) core_install && cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ; \
|
||||||
else \
|
else \
|
||||||
$(MAKE) $(AM_MAKEFLAGS) core && cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ;\
|
if test "$$target" = "clean"; then \
|
||||||
|
cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ;\
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) core && cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ;\
|
||||||
|
fi; \
|
||||||
fi; \
|
fi; \
|
||||||
fi; fi
|
fi; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue