added makefile for source

git-svn-id: http://comictagger.googlecode.com/svn/trunk@174 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville 2012-11-30 05:30:37 +00:00
parent 7eb8ad6824
commit 182ef31900

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
TAGGER_BASE := $(HOME)/Dropbox/tagger/comictagger
VERSION_STR := $(shell grep version $(TAGGER_BASE)/ctversion.py| cut -d= -f2 | sed 's/\"//g')
all: clean
clean:
rm -f *~ *.pyc *.pyo
rm -f logdict*.log
zip:
cd release; \
rm -rf *zip comictagger-src-$(VERSION_STR) ; \
svn checkout https://comictagger.googlecode.com/svn/trunk/ comictagger-src-$(VERSION_STR); \
zip -r comictagger-src-$(VERSION_STR).zip comictagger-src-$(VERSION_STR); \
rm -rf comictagger-src-$(VERSION_STR)
@echo When satisfied with release, do this:
@echo svn fpoooo $(VERSION_STR)