mirror of
https://git.proxmox.com/git/libxdgmime-perl
synced 2025-06-13 03:56:34 +00:00
buildsys: derive upload dist automatically
taken from pve-common commit: 0bc017209886ee52a5418bcb7921324836cc869b Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
a6b0921e08
commit
9d93a1336d
5
Makefile
5
Makefile
@ -42,9 +42,10 @@ ${DEB}: ${OPKGNAME}/Xdgmime.xs ${BUILDSRC}
|
||||
cd ${BUILDSRC}; dpkg-buildpackage -b -us -uc
|
||||
lintian ${DEB}
|
||||
|
||||
.PHONY: upload
|
||||
.phony: upload
|
||||
upload: UPLOAD_DIST ?= ${DEB_DISTRIBUTION}
|
||||
upload: ${DEB}
|
||||
tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
|
||||
tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist ${UPLOAD_DIST}
|
||||
|
||||
|
||||
CLEANFILES = *~ debian/*~ *.deb ${BUILDSRC} libxdgmime-perl* *.buildinfo *.build *.dsc *tar.?z
|
||||
|
Loading…
Reference in New Issue
Block a user