21 lines
575 B
Makefile
21 lines
575 B
Makefile
|
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)
|
||
|
|