Skip to content

Commit 67c3b9b

Browse files
committed
start new project
--HG-- extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401348
0 parents  commit 67c3b9b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Makefile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# $Id$
3+
#
4+
5+
SVNHOME=$(shell svn info | grep "^URL" | cut -f2- -d:)
6+
PROJECT=virtualenvwrapper
7+
VERSION=$(shell basename $(SVNHOME))
8+
RELEASE=$(PROJECT)-$(VERSION)
9+
10+
info:
11+
SVNHOME=$(SVNHOME)
12+
PROJECT=$(PROJECT)
13+
VERSION=$(VERSION)
14+
RELEASE=$(RELEASE)
15+
16+
package: dist export
17+
(rm -f dist/$(RELEASE).zip)
18+
(cd dist/; tar zcvf $(RELEASE).tar.gz $(RELEASE))
19+
mv dist/*.tar.gz ~/Desktop/
20+
21+
dist:
22+
mkdir -p dist
23+
24+
#
25+
# Dump a version that does not include .svn directories.
26+
#
27+
export:
28+
rm -rf dist/$(RELEASE)
29+
(cd dist; svn export $(SVNHOME) $(RELEASE); rm -f $(RELEASE)/Makefile)

0 commit comments

Comments
 (0)