Merge changes I627eb724,I55d5865b
* changes: configure: add a test for configured source dir Makefile: add distclean target
This commit is contained in:
commit
d1aeef94a5
@ -94,6 +94,16 @@ clean::
|
|||||||
rm -f $(OBJS-yes) $(OBJS-yes:.o=.d) $(OBJS-yes:.asm.s.o=.asm.s)
|
rm -f $(OBJS-yes) $(OBJS-yes:.o=.d) $(OBJS-yes:.asm.s.o=.asm.s)
|
||||||
rm -f $(CLEAN-OBJS)
|
rm -f $(CLEAN-OBJS)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
distclean: clean
|
||||||
|
if [ -z "$(target)" ]; then \
|
||||||
|
rm -f Makefile; \
|
||||||
|
rm -f config.log config.mk; \
|
||||||
|
rm -f vpx_config.[hc] vpx_config.asm; \
|
||||||
|
else \
|
||||||
|
rm -f $(target)-$(TOOLCHAIN).mk; \
|
||||||
|
fi
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist:
|
dist:
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
@ -307,7 +317,7 @@ endef
|
|||||||
ifneq ($(target),)
|
ifneq ($(target),)
|
||||||
include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk
|
include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk
|
||||||
endif
|
endif
|
||||||
ifeq ($(filter clean,$(MAKECMDGOALS)),)
|
ifeq ($(filter %clean,$(MAKECMDGOALS)),)
|
||||||
# Older versions of make don't like -include directives with no arguments
|
# Older versions of make don't like -include directives with no arguments
|
||||||
ifneq ($(filter %.d,$(OBJS-yes:.o=.d)),)
|
ifneq ($(filter %.d,$(OBJS-yes:.o=.d)),)
|
||||||
-include $(filter %.d,$(OBJS-yes:.o=.d))
|
-include $(filter %.d,$(OBJS-yes:.o=.d))
|
||||||
|
8
configure
vendored
8
configure
vendored
@ -166,6 +166,14 @@ for util in make perl; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
if [ "`cd ${source_path} && pwd`" != "`pwd`" ]; then
|
||||||
|
# test to see if source_path already configured
|
||||||
|
if [ -f ${source_path}/vpx_config.h ]; then
|
||||||
|
die "source directory already configured; run 'make distclean' there first"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# check installed doxygen version
|
# check installed doxygen version
|
||||||
doxy_version=$(doxygen --version 2>/dev/null)
|
doxy_version=$(doxygen --version 2>/dev/null)
|
||||||
doxy_major=${doxy_version%%.*}
|
doxy_major=${doxy_version%%.*}
|
||||||
|
Loading…
Reference in New Issue
Block a user