]> git.proxmox.com Git - qemu-server.git/blobdiff - Makefile
tests: do not use for-loop for globs
[qemu-server.git] / Makefile
index 50219d60170dbbd0be189f20031298e33dc9fb34..457eaef4df57215619bc361d5a3832443fe510c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ qmrestore.zsh-completion:
        mv $@.tmp $@
 
 PKGSOURCES=qm qm.1 qmrestore qmrestore.1 qmextract qm.conf.5 qm.bash-completion qmrestore.bash-completion \
-           qm.zsh-completion qmrestore.zsh-completion
+           qm.zsh-completion qmrestore.zsh-completion cpu-models.conf.5
 
 .PHONY: install
 install: ${PKGSOURCES}
@@ -76,6 +76,7 @@ install: ${PKGSOURCES}
        install -m 0755 qmextract ${DESTDIR}${LIBDIR}
        install -m 0644 qm.1 ${DESTDIR}/${MAN1DIR}
        install -m 0644 qmrestore.1 ${DESTDIR}/${MAN1DIR}
+       install -m 0644 cpu-models.conf.5 ${DESTDIR}/${MAN5DIR}
        install -m 0644 qm.conf.5 ${DESTDIR}/${MAN5DIR}
        cd ${DESTDIR}/${MAN5DIR}; ln -s -f qm.conf.5.gz vm.conf.5.gz
 
@@ -104,12 +105,12 @@ test:
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist buster
+       tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pve --dist buster
 
 .PHONY: clean
 clean:
-       $(MAKE) cleanup-docgen
        rm -rf $(PACKAGE)-*/ *.deb *.buildinfo *.changes *.dsc $(PACKAGE)_*.tar.gz
+       $(MAKE) cleanup-docgen
        find . -name '*~' -exec rm {} ';'