[Pkg-voip-commits] [dahdi-tools] 226/285: build: remove unused "update" target from Makefile

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:19:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit 5fd1ce5ca09f4deab33e33fde4f52c7097fbdeba
Author: Oron Peled <oron.peled at xorcom.com>
Date:   Sun Dec 21 15:06:07 2014 -0500

    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 at xorcom.com>
---
 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:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list