]> git.proxmox.com Git - pve-access-control.git/blobdiff - Makefile
tests: unify config file naming
[pve-access-control.git] / Makefile
index a07710b5930e9b51e0c3363789dec8bd9eac67e5..3ec8890a47ee84660618a132d6536c668705f6fe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ export PERLDIR=${PREFIX}/share/perl5
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
-DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
+DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
 
 # this requires package pve-doc-generator
@@ -51,7 +51,6 @@ install: pveum.1 oathkeygen pveum.bash-completion pveum.zsh-completion
        install -d ${DESTDIR}/${MAN1DIR}
        install -d ${DESTDIR}/${DOCDIR}
        install -m 0644 pveum.1 ${DESTDIR}/${MAN1DIR}
-       gzip -9 -n ${DESTDIR}/${MAN1DIR}/pveum.1
        install -m 0644 -D pveum.bash-completion ${DESTDIR}${BASHCOMPLDIR}/pveum
        install -m 0644 -D pveum.zsh-completion ${DESTDIR}${ZSHCOMPLDIR}/_pveum
 
@@ -59,6 +58,7 @@ install: pveum.1 oathkeygen pveum.bash-completion pveum.zsh-completion
 test:
        perl -I. ./pveum verifyapi
        perl -I. -T -e "use PVE::CLI::pveum; PVE::CLI::pveum->verify_api();"
+       make -C test check
 
 ${BUILDDIR}:
        rm -rf ${BUILDDIR}
@@ -79,7 +79,7 @@ ${DSC}: ${BUILDDIR}
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${DEB_BUILD_ARCH}
+       tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist buster --arch ${DEB_BUILD_ARCH}
 
 .PHONY: clean
 clean: