1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
STEPS = github dist all
FILES = findimagedupes COPYING README.md history
EPHEMERAL = history VERSION
.PHONY: $(STEPS) clean
README.md: findimagedupes
pod2markdown findimagedupes README.md
git add README.md
git commit -m 'synchronise README.md with findimagedupes source' || true
github: README.md
git push github master
all: dist
clean:
git checkout -f
reallyclean:
git clean -d -f
dist: README.md
git describe --tags > VERSION
./patchver
git log --decorate=short -- findimagedupes | grep -v '^Author:' > history
tar cvzf findimagedupes-`cat VERSION`.tar.gz $(FILES)
git checkout findimagedupes
rm $(EPHEMERAL)
|