Added release target

The release target is the same as make dist, but it signs the resulting
archive with the default PGP key.
master
Salvo 'LtWorf' Tomaselli 2016-03-31 20:25:09 +07:00
parent 13b57a77c3
commit f0b043f85b
1 changed files with 4 additions and 0 deletions

@ -19,11 +19,15 @@ dist: clean
(cd /tmp; tar -zcf relational.tar.gz relational/)
mv /tmp/relational.tar.gz ./relational_`./relational_gui.py -v | grep Relational | cut -d" " -f2`.orig.tar.gz
release: dist
gpg --sign --armor --detach-sign ./relational_`./relational_gui.py -v | grep Relational | cut -d" " -f2`.orig.tar.gz
clean:
rm -rf `find -name "*~"`
rm -rf `find -name "*pyc"`
rm -rf `find -name "*pyo"`
rm -rf relational*.tar.gz
rm -rf relational*.tar.gz.asc
rm -rf data
rm -rf *tar.bz
rm -rf *.deb