[Pkg-javascript-commits] [sockjs-client] 351/434: Further makefile tweaks

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:24 UTC 2014


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

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit e6b1655f8b9c4cc8fd993911845cf6456736b14b
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Mon Feb 13 14:41:07 2012 +0000

    Further makefile tweaks
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index eed0438..2b81b00 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ clean:
 RVER:=$(shell cat version)
 VER:=$(shell ./VERSION-GEN)
 # The first two dots: 1.2.3 -> 1.2
-MAJVER:=$(shell echo $(VER)|sed 's|^\([^.]\+\)[.]\([^.]\+\)[.]\([^.]\+\)[.].*$$|\1.\2|' )
+MAJVER:=$(shell echo $(VER)|sed 's|^\([^.]\+[.][^.]\+\).*$$|\1|' )
 
 .PHONY: prepare-release tag upload
 prepare-release:
@@ -104,4 +104,4 @@ upload: build
 	@echo ' [*] Now run: '
 	@echo '(cd ../sockjs-client-gh-pages; git push; )'
 	@echo '(cd ../sockjs-client-gh-pages; 	\
-		s3cmd sync . s3://sockjs --acl-public --exclude ".*" --include index.html --include $(ARTIFACTS); );'
+		s3cmd put --acl-public index.html $(ARTIFACTS) s3://sockjs; );'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list