]> git.proxmox.com Git - pve-access-control.git/blobdiff - Makefile
buildsys: update make upload target
[pve-access-control.git] / Makefile
index ca82850cf9ba353bbf87b8dd2f9160780ebcb722..09f1011b466b947b887734c0dfe3fb72f8f12796 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,14 +60,14 @@ ${DEB}:
        install -D -m 0644 copyright build/${DOCDIR}/copyright
        install -m 0644 changelog.Debian build/${DOCDIR}/
        gzip -9 -n build/${DOCDIR}/changelog.Debian
-       dpkg-deb --build build
+       fakeroot dpkg-deb --build build
        mv build.deb ${DEB}
        #rm -rf build
        lintian ${DEB}
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist jessie --arch ${ARCH}
 
 .PHONY: clean
 clean: