2012-11-29 21:30:37 -08:00
|
|
|
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
|
2013-01-24 22:13:33 -08:00
|
|
|
make -C mac clean
|
|
|
|
make -C windows clean
|
|
|
|
|
2012-11-29 21:30:37 -08:00
|
|
|
zip:
|
|
|
|
cd release; \
|
|
|
|
rm -rf *zip comictagger-src-$(VERSION_STR) ; \
|
2013-01-31 19:48:53 -08:00
|
|
|
svn export https://comictagger.googlecode.com/svn/trunk/ comictagger-src-$(VERSION_STR); \
|
2012-11-29 21:30:37 -08:00
|
|
|
zip -r comictagger-src-$(VERSION_STR).zip comictagger-src-$(VERSION_STR); \
|
|
|
|
rm -rf comictagger-src-$(VERSION_STR)
|
|
|
|
|
|
|
|
@echo When satisfied with release, do this:
|
2012-11-30 00:01:35 -08:00
|
|
|
@echo make svn_tag
|
2012-11-29 21:30:37 -08:00
|
|
|
|
2012-11-30 00:01:35 -08:00
|
|
|
svn_tag:
|
|
|
|
svn copy https://comictagger.googlecode.com/svn/trunk \
|
|
|
|
https://comictagger.googlecode.com/svn/tags/$(VERSION_STR) -m "Release $(VERSION_STR)"
|
2013-01-24 22:13:33 -08:00
|
|
|
|