From patchwork Thu Mar 31 16:11:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 909 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 1B0981542E9 for ; Thu, 31 Mar 2011 18:11:45 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@narfation.org; dkim-adsp=pass Received: from sven-desktop.home.narfation.org (i59F6B6DC.versanet.de [89.246.182.220]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 4EA36940CF; Thu, 31 Mar 2011 18:11:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1301587901; bh=l/Y0ppADory6X09O1lX1Fhp9A8vDopi8VlpRKnXggCM=; h=From:To:Cc:Subject:Date:Message-Id; b=dDS4E1ZadLPtIrXV0Ast5PV/HCzASioP6IukrvGonA4pQwfvLjbJCpEIQLHCT35Ry Jh7mzBI14uOAmy0ePOya9p56DMhXlSB5/r1eubs2N11s9qXfKe/gfKvhhJX79t3Rph 5upg+efdrXNRasgcaG0p1eDqBV/J8YgPoBAfnZuQ= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 31 Mar 2011 18:11:37 +0200 Message-Id: <1301587899-9449-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.4.1 Subject: [B.A.T.M.A.N.] [PATCH 1/2] batctl: Remove obsolete creation of source packages X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 16:11:46 -0000 The creation of source packages is now either done by the release team using special scripts or through gitweb. It is not needed to provide the source target inside the Makefile and may not work in the future anyway. Signed-off-by: Sven Eckelmann --- Makefile | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index a992e89..b5b4e2b 100644 --- a/Makefile +++ b/Makefile @@ -69,11 +69,8 @@ REVISION= $(shell if [ -d .svn ]; then \ REVISION_VERSION =\"\ $(REVISION)\" -BAT_VERSION = $(shell grep "^\#define SOURCE_VERSION " $(SOURCE_VERSION_HEADER) | sed -e '1p' -n | awk -F '"' '{print $$2}' | awk '{print $$1}') -FILE_NAME = $(PACKAGE_NAME)_$(BAT_VERSION)-rv$(REVISION)_$@ NUM_CPUS = $(shell nproc 2> /dev/null || echo 1) - all: $(MAKE) -j $(NUM_CPUS) $(BINARY_NAME) @@ -84,25 +81,9 @@ $(BINARY_NAME): $(SRC_O) $(SRC_H) Makefile $(Q_CC)$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MD -c $< -o $@ -include $(SRC_C:.c=.d) -sources: - mkdir -p $(FILE_NAME) - - for i in $$( find . | grep $(SRC_FILES) | grep -v "\.svn" ); do [ -d $$i ] && mkdir -p $(FILE_NAME)/$$i ; [ -f $$i ] && cp -Lvp $$i $(FILE_NAME)/$$i ;done - - wget -O changelog.html http://www.open-mesh.net/log/$(LOG_BRANCH)/ - html2text -o changelog.txt -nobs -ascii changelog.html - awk '/View revision/,/10\/01\/06 20:23:03/' changelog.txt > $(FILE_NAME)/CHANGELOG - - for i in $$( find man | grep -v "\.svn" ); do [ -f $$i ] && groff -man -Thtml $$i > $(FILE_NAME)/$$i.html ;done - - tar czvf $(FILE_NAME).tgz $(FILE_NAME) - clean: rm -f $(BINARY_NAME) *.o *.d -clean-long: - rm -rf $(PACKAGE_NAME)_* - install: mkdir -p $(SBINDIR) install -m 0755 $(BINARY_NAME) $(SBINDIR)