You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2012/03/01 17:19:43 UTC

[5/6] git commit: Normalize Makefiles

Normalize Makefiles


git-svn-id: https://svn.apache.org/repos/asf/trafficserver/plugins/trunk@1212132 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/7e952e8c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/7e952e8c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/7e952e8c

Branch: refs/heads/master
Commit: 7e952e8c9105e098d204cce718c6370a15521b38
Parents: 2f0fb7a
Author: Igor Galić <ig...@apache.org>
Authored: Thu Dec 8 21:22:41 2011 +0000
Committer: Igor Galić <ig...@apache.org>
Committed: Thu Dec 8 21:22:41 2011 +0000

----------------------------------------------------------------------
 Makefile |   26 +-------------------------
 1 files changed, 1 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7e952e8c/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 15def35..7cb1a3b 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,6 @@
 #  limitations under the License.
 
 TSXS?=tsxs
-CXXFLAGS=-O3 -Wall
 
 all:	header_filter.cc rules.cc
 	$(TSXS) -v -C $? -o header_filter.so
@@ -24,27 +23,4 @@ install:
 	$(TSXS) -i -o header_filter.so
 
 clean:
-	rm -f *.lo *.so *.bz2 *.asc *.md5 *.sha1
-
-
-# Don't touch
-PACKAGE=header_filter
-VERSION=1.0
-distdir = $(PACKAGE)-$(VERSION)
-remove_distdir = \
-  { test ! -d "$(distdir)" \
-    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
-         && rm -fr "$(distdir)"; }; }
-
-asf-distdir:
-	@$(remove_distdir)
-	svn export . $(distdir)
-
-asf-dist: asf-distdir
-	tar chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
-	@$(remove_distdir)
-
-asf-dist-sign: asf-dist
-	md5sum -b $(distdir).tar.bz2 >$(distdir).tar.bz2.md5
-	sha1sum -b $(distdir).tar.bz2 >$(distdir).tar.bz2.sha1
-	gpg2 --armor --output $(distdir).tar.bz2.asc  --detach-sig $(distdir).tar.bz2
+	rm -f *.lo *.so