Do not distribute rpm.
This commit is contained in:
parent
bf1e937db4
commit
4d97ca800b
9
Makefile
9
Makefile
|
@ -7,7 +7,6 @@ AUTHOR:=$(shell $(PYTHON) setup.py --author)
|
||||||
APPNAME:=$(shell $(PYTHON) setup.py --name)
|
APPNAME:=$(shell $(PYTHON) setup.py --name)
|
||||||
LAPPNAME:=$(shell echo $(APPNAME)|tr "[A-Z]" "[a-z]")
|
LAPPNAME:=$(shell echo $(APPNAME)|tr "[A-Z]" "[a-z]")
|
||||||
ARCHIVE_SOURCE:=$(LAPPNAME)-$(VERSION).tar.gz
|
ARCHIVE_SOURCE:=$(LAPPNAME)-$(VERSION).tar.gz
|
||||||
ARCHIVE_RPM:=$(LAPPNAME)-$(VERSION)-1.x86_64.rpm
|
|
||||||
ARCHIVE_WIN32:=$(LAPPNAME)-$(VERSION).exe
|
ARCHIVE_WIN32:=$(LAPPNAME)-$(VERSION).exe
|
||||||
GITUSER:=wummel
|
GITUSER:=wummel
|
||||||
GITREPO:=$(LAPPNAME)
|
GITREPO:=$(LAPPNAME)
|
||||||
|
@ -38,18 +37,18 @@ chmod:
|
||||||
find . -type d -exec chmod 755 {} \;
|
find . -type d -exec chmod 755 {} \;
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
$(PYTHON) setup.py bdist_rpm
|
[ -d dist ] || mkdir dist
|
||||||
rm dist/*.src.rpm
|
|
||||||
git archive --format=tar --prefix=$(LAPPNAME)-$(VERSION)/ HEAD | gzip -9 > dist/$(ARCHIVE_SOURCE)
|
git archive --format=tar --prefix=$(LAPPNAME)-$(VERSION)/ HEAD | gzip -9 > dist/$(ARCHIVE_SOURCE)
|
||||||
[ ! -f ../$(ARCHIVE_WIN32) ] || cp ../$(ARCHIVE_WIN32) dist
|
[ ! -f ../$(ARCHIVE_WIN32) ] || cp ../$(ARCHIVE_WIN32) dist
|
||||||
|
|
||||||
sign:
|
sign:
|
||||||
[ -f dist/$(ARCHIVE_SOURCE).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_SOURCE)
|
[ -f dist/$(ARCHIVE_SOURCE).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_SOURCE)
|
||||||
[ -f dist/$(ARCHIVE_WIN32).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_WIN32)
|
[ -f dist/$(ARCHIVE_WIN32).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_WIN32)
|
||||||
[ -f dist/$(ARCHIVE_RPM).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_RPM)
|
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
github-upload $(GITUSER) $(GITREPO) dist/$(ARCHIVE_SOURCE)* dist/$(ARCHIVE_WIN32)* dist/$(ARCHIVE_RPM)*
|
github-upload $(GITUSER) $(GITREPO) \
|
||||||
|
dist/$(ARCHIVE_SOURCE) dist/$(ARCHIVE_WIN32) \
|
||||||
|
dist/$(ARCHIVE_SOURCE).asc dist/$(ARCHIVE_WIN32).asc
|
||||||
|
|
||||||
homepage:
|
homepage:
|
||||||
# update metadata
|
# update metadata
|
||||||
|
|
Loading…
Reference in New Issue