build: remove unused "update" target from Makefile

The 'update' makefile target seems unused as it has not been
updated to use git.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
Oron Peled 2014-12-21 15:06:07 -05:00 committed by Tzafrir Cohen
parent 41532ca8a1
commit 5fd1ce5ca0

View File

@ -5,10 +5,10 @@
# #
# #
ifeq ($(strip $(foreach var,clean distclean dist-clean update,$(findstring $(var),$(MAKECMDGOALS)))),) ifeq ($(strip $(foreach var,clean distclean dist-clean,$(findstring $(var),$(MAKECMDGOALS)))),)
endif endif
ifeq ($(strip $(foreach var,clean distclean dist-clean update,$(findstring $(var),$(MAKECMDGOALS)))),) ifeq ($(strip $(foreach var,clean distclean dist-clean,$(findstring $(var),$(MAKECMDGOALS)))),)
ifneq ($(wildcard makeopts),) ifneq ($(wildcard makeopts),)
include makeopts include makeopts
endif endif
@ -325,20 +325,6 @@ endif
echo "DAHDI start. "; \ echo "DAHDI start. "; \
fi fi
update:
@if [ -d .svn ]; then \
echo "Updating from Subversion..." ; \
svn update | tee update.out; \
rm -f .version; \
if [ `grep -c ^C update.out` -gt 0 ]; then \
echo ; echo "The following files have conflicts:" ; \
grep ^C update.out | cut -b4- ; \
fi ; \
rm -f update.out; \
else \
echo "Not under version control"; \
fi
dist: dist:
@./build_tools/make_dist "dahdi-tools" "$(TOOLSVERSION)" @./build_tools/make_dist "dahdi-tools" "$(TOOLSVERSION)"
@ -374,7 +360,7 @@ config.status: configure
@echo "****" @echo "****"
@exit 1 @exit 1
.PHONY: distclean dist-clean clean all install programs tests devel data config update install-programs install-libs install-utils-subdirs utils-subdirs prereq dist .PHONY: distclean dist-clean clean all install programs tests devel data config install-programs install-libs install-utils-subdirs utils-subdirs prereq dist
FORCE: FORCE: