From 5fd1ce5ca09f4deab33e33fde4f52c7097fbdeba Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Sun, 21 Dec 2014 15:06:07 -0500 Subject: [PATCH] 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 --- Makefile | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index e7e8612..994046b 100644 --- a/Makefile +++ b/Makefile @@ -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 -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),) include makeopts endif @@ -325,20 +325,6 @@ endif echo "DAHDI start. "; \ 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: @./build_tools/make_dist "dahdi-tools" "$(TOOLSVERSION)" @@ -374,7 +360,7 @@ config.status: configure @echo "****" @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: